12 namespace accelerator{
81 void configure(
const std::set<int>& devicesToUse = {});
bool isInitialised() const
static int _localDeviceId
static Device & getInstance()
void shutdown()
Shutdown parallel environment.
int getNumberOfDevices() const
Return the number of GPUs that are available.
static constexpr int HostDevice
Accelerator devices (GPUs) are enumerated starting from 0.
int getLocalDeviceId() const
void configure(const std::set< int > &devicesToUse={})
static tarch::logging::Log _log
Logging device.
Have to include this header, as I need access to the SYCL_EXTERNAL keyword.