2 #ifdef ALPAKA_HOST_ONLY 3 #error ALPAKA_HOST_ONLY defined in device compilation 6 #include <alpaka/alpaka.hpp> 21 template <
typename TAcc,
typename = std::enable_if_t<alpaka::isAccelerator<TAcc>>>
25 double xvalue)
const {
27 const int32_t thread = alpaka::getIdx<alpaka::Grid, alpaka::Threads>(acc)[0u];
28 const portabletest::Matrix matrix{{1, 2, 3, 4, 5, 6}, {2, 4, 6, 8, 10, 12}, {3, 6, 9, 12, 15, 18}};
53 auto workDiv = make_workdiv<Acc1D>(groups,
items);
60 template <
typename TAcc,
typename = std::enable_if_t<alpaka::isAccelerator<TAcc>>>
80 auto workDiv = make_workdiv<Acc1D>(1, 1);
void fillObject(Queue &queue, portabletest::TestDeviceObject &object, double x, double y, double z, int32_t id) const
Eigen::Matrix< double, 3, 6 > Matrix
ALPAKA_FN_ACC void operator()(TAcc const &acc, portabletest::TestDeviceCollection::View view, int32_t size, double xvalue) const
ALPAKA_FN_ACC void operator()(TAcc const &acc, portabletest::TestDeviceObject::Product *data, double x, double y, double z, int32_t id) const
typename Layout::View View
void fill(Queue &queue, portabletest::TestDeviceCollection &collection, double xvalue=0.) const
char data[epos_bytes_allocation]