CMS 3D CMS Logo

AlpakaTestKernelAdditionAlgo.dev.cc
Go to the documentation of this file.
1 #include <cstdint>
2 
3 #include <alpaka/alpaka.hpp>
4 
8 
10 
12 
14  const float* __restrict__ in1,
15  const float* __restrict__ in2,
16  float* __restrict__ out,
17  uint32_t size) {
18  alpaka::exec<Acc1D>(
19  queue, cms::alpakatools::make_workdiv<Acc1D>(32, 32), test::KernelAddVectorsF{}, in1, in2, out, size);
20  }
21 
22 } // namespace ALPAKA_ACCELERATOR_NAMESPACE::HeterogeneousTestAlpakaKernelPlugins
void wrapper_add_vectors_f(Queue &queue, const float *__restrict__ in1, const float *__restrict__ in2, float *__restrict__ out, uint32_t size)