CMS 3D CMS Logo

Classes | Functions
ALPAKA_ACCELERATOR_NAMESPACE::HeterogeneousTestAlpakaDevicePlugins Namespace Reference

Classes

struct  KernelAddVectorsF
 

Functions

void wrapper_add_vectors_f (Queue &queue, const float *__restrict__ in1, const float *__restrict__ in2, float *__restrict__ out, uint32_t size)
 

Function Documentation

◆ wrapper_add_vectors_f()

void ALPAKA_ACCELERATOR_NAMESPACE::HeterogeneousTestAlpakaDevicePlugins::wrapper_add_vectors_f ( Queue &  queue,
const float *__restrict__  in1,
const float *__restrict__  in2,
float *__restrict__  out,
uint32_t  size 
)

Definition at line 23 of file AlpakaTestDeviceAdditionAlgo.dev.cc.

References MillePedeFileConverter_cfg::out, and createBeamHaloJobs::queue.

Referenced by ALPAKA_ACCELERATOR_NAMESPACE::AlpakaTestDeviceAdditionModule::analyze().

27  {
28  alpaka::exec<Acc1D>(queue, cms::alpakatools::make_workdiv<Acc1D>(32, 32), KernelAddVectorsF{}, in1, in2, out, size);
29  }
size
Write out results.