ATLAS Offline Software
Classes | Typedefs | Functions
AthCUDAExamples Namespace Reference

Classes

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...
 
struct  TrackParticleInterface
 Interface for the VecMem based GPU friendly TrackParticleContainer. More...
 

Typedefs

using TrackParticleContainer = vecmem::edm::container< TrackParticleInterface, vecmem::edm::type::vector< float >, vecmem::edm::type::vector< float >, vecmem::edm::type::vector< float > >
 SoA, GPU friendly TrackParticleContainer. More...
 

Functions

void cudaMultiply (std::vector< float > &array, float multiplier)
 Function used to multiple a vector of variables by some amount. More...
 
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. More...
 

Typedef Documentation

◆ TrackParticleContainer

using AthCUDAExamples::TrackParticleContainer = typedef vecmem::edm::container< TrackParticleInterface, vecmem::edm::type::vector<float>, vecmem::edm::type::vector<float>, vecmem::edm::type::vector<float> >

SoA, GPU friendly TrackParticleContainer.

Definition at line 44 of file Control/AthenaExamples/AthExCUDA/src/TrackParticleContainer.h.

Function Documentation

◆ 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.