1 #ifndef HeterogeneousCore_AlpakaInterface_interface_host_h 2 #define HeterogeneousCore_AlpakaInterface_interface_host_h 4 #include <alpaka/alpaka.hpp> 11 inline alpaka::PlatformCpu
const&
host_platform() {
return platform<alpaka::PlatformCpu>(); }
14 inline alpaka::DevCpu
const&
host() {
return devices<alpaka::PlatformCpu>()[0]; }
18 #endif // HeterogeneousCore_AlpakaInterface_interface_host_h