src
HeterogeneousTest
AlpakaKernel
plugins
alpaka
AlpakaTestKernelAdditionAlgo.dev.cc
Go to the documentation of this file.
1
#include <cstdint>
2
3
#include <alpaka/alpaka.hpp>
4
5
#include "
HeterogeneousCore/AlpakaInterface/interface/config.h
"
6
#include "
HeterogeneousCore/AlpakaInterface/interface/workdivision.h
"
7
#include "
HeterogeneousTest/AlpakaKernel/interface/alpaka/DeviceAdditionKernel.h
"
8
9
#include "
AlpakaTestKernelAdditionAlgo.h
"
10
11
namespace
ALPAKA_ACCELERATOR_NAMESPACE::HeterogeneousTestAlpakaKernelPlugins
{
12
13
void
wrapper_add_vectors_f
(Queue&
queue
,
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
workdivision.h
createBeamHaloJobs.queue
queue
Definition:
createBeamHaloJobs.py:343
AlpakaTestKernelAdditionAlgo.h
ALPAKA_ACCELERATOR_NAMESPACE::HeterogeneousTestAlpakaKernelPlugins::wrapper_add_vectors_f
void wrapper_add_vectors_f(Queue &queue, const float *__restrict__ in1, const float *__restrict__ in2, float *__restrict__ out, uint32_t size)
Definition:
AlpakaTestKernelAdditionAlgo.dev.cc:13
MillePedeFileConverter_cfg.out
out
Definition:
MillePedeFileConverter_cfg.py:31
DeviceAdditionKernel.h
ALPAKA_ACCELERATOR_NAMESPACE::test::KernelAddVectorsF
Definition:
DeviceAdditionKernel.h:13
ALPAKA_ACCELERATOR_NAMESPACE::HeterogeneousTestAlpakaKernelPlugins
Definition:
AlpakaTestKernelAdditionAlgo.dev.cc:11
config.h
Generated for CMSSW Reference Manual by
1.8.14