1 #ifndef HeterogeneousCore_AlpakaInterface_interface_host_h 2 #define HeterogeneousCore_AlpakaInterface_interface_host_h 6 #include <alpaka/alpaka.hpp> 13 using Platform = alpaka::PltfCpu;
14 using Host = alpaka::DevCpu;
16 assert(alpaka::getDevCount<Platform>() == 1);
17 Host
host = alpaka::getDevByIdx<Platform>(0);
26 inline alpaka::DevCpu
const&
host() {
33 #endif // HeterogeneousCore_AlpakaInterface_interface_host_h