ATLAS Offline Software
Loading...
Searching...
No Matches
AthCUDAExamples Namespace Reference

Classes

class  LinearTransformAsyncExampleAlg
 Example algorithm demonstrating the use of CUDA in an AthAsynchronousAlgorithm. More...
class  LinearTransformStandaloneExampleAlg
 Example algorithm running a very simple operation using CUDA. More...
class  LinearTransformTaskExampleAlg
 Example algorithm exercising the AthCUDA core code/services. More...
class  TrackParticleCalibratorExampleAlg
 Example algorithm performing "track particle calibration". More...

Functions

void cudaMultiply (std::vector< float > &array, float multiplier)
 Function used to multiple a vector of variables by some amount.
std::unique_ptr< AthCUDA::IKernelTaskmake_CudaMultiplyTask (AthCUDA::KernelStatus &status, std::vector< float > &array, float multiplier)
 Function setting up the task performing a simple linear transformation.
StatusCode calibrateOnGPU (const traccc::edm::track_collection< traccc::default_algebra >::const_view &input, traccc::edm::track_collection< traccc::default_algebra >::view &output)
 Perform the transformation on an NVIDIA GPU.

Function Documentation

◆ calibrateOnGPU()

StatusCode AthCUDAExamples::calibrateOnGPU ( const traccc::edm::track_collection< traccc::default_algebra >::const_view & input,
traccc::edm::track_collection< traccc::default_algebra >::view & output )

Perform the transformation on an NVIDIA GPU.

◆ cudaMultiply()

void AthCUDAExamples::cudaMultiply ( std::vector< float > & array,
float multiplier )

Function used to multiple a vector of variables by some amount.

◆ make_CudaMultiplyTask()

std::unique_ptr< AthCUDA::IKernelTask > AthCUDAExamples::make_CudaMultiplyTask ( AthCUDA::KernelStatus & status,
std::vector< float > & array,
float multiplier )

Function setting up the task performing a simple linear transformation.