19 #if defined(BOOST_COMP_GNUC) && BOOST_COMP_GNUC >= BOOST_VERSION_NUMBER(11, 0, 0) \
20 && BOOST_COMP_GNUC < BOOST_VERSION_NUMBER(12, 0, 0)
57 if(devIdx >= devCount)
59 std::stringstream ssErr;
60 ssErr <<
"Unable to return device handle for CPU device with index " << devIdx
61 <<
" because there are only " << devCount <<
" devices!";
62 throw std::runtime_error(ssErr.str());
#define ALPAKA_DEBUG_FULL_LOG_SCOPE
The alpaka accelerator library.
ALPAKA_FN_HOST auto getDevCount(TPlatform const &platform)
Tag used in class inheritance hierarchies that describes that a specific interface (TInterface) is im...
The device count get trait.