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 {
26 const portabletest::Matrix matrix{{1, 2, 3, 4, 5, 6}, {2, 4, 6, 8, 10, 12}, {3, 6, 9, 12, 15, 18}};
51 auto workDiv = make_workdiv<Acc1D>(groups,
items);
58 template <
typename TAcc,
typename = std::enable_if_t<alpaka::isAccelerator<TAcc>>>
60 portabletest::TestDeviceObject::Product*
data,
78 auto workDiv = make_workdiv<Acc1D>(1, 1);
85 template <
typename TAcc,
typename = std::enable_if_t<alpaka::isAccelerator<TAcc>>>
87 portabletest::TestDeviceCollection::ConstView
input,
98 if (
i < esData.
size()) {
120 auto workDiv = make_workdiv<Acc1D>(groups,
items);
void fillObject(Queue &queue, portabletest::TestDeviceObject &object, double x, double y, double z, int32_t id) const
constexpr auto size() const
Eigen::Matrix< double, 3, 6 > Matrix
portabletest::TestDeviceCollection update(Queue &queue, portabletest::TestDeviceCollection const &input, AlpakaESTestDataEDevice const &esData) const
ALPAKA_FN_ACC void operator()(TAcc const &acc, portabletest::TestDeviceCollection::View view, int32_t size, double xvalue) const
PortableCollection< TestSoA > TestDeviceCollection
ALPAKA_FN_ACC void operator()(TAcc const &acc, portabletest::TestDeviceObject::Product *data, double x, double y, double z, int32_t id) const
static std::string const input
PortableObject< TestStruct > TestDeviceObject
constexpr int val(int i) const
void fill(Queue &queue, portabletest::TestDeviceCollection &collection, double xvalue=0.) const
char data[epos_bytes_allocation]
ALPAKA_FN_ACC void operator()(TAcc const &acc, portabletest::TestDeviceCollection::ConstView input, AlpakaESTestDataEDevice::ConstView esData, portabletest::TestDeviceCollection::View output) const
constexpr int val2(int i) const