static constexpr int UseDefaultNumberOfThreads
The default is what the system management typically gives you.
bool isInitialised() const
int getCoreNumber() const
int getNumberOfThreads() const
Returns the number of threads that is used.
static tarch::logging::Log _log
Logging device.
void configure(int numberOfThreads=UseDefaultNumberOfThreads)
Configure the whole node, i.e.
static Core & getInstance()
void shutdown()
Shutdown parallel environment.
int getThreadNumber() const
void yield()
Wrapper around backend-specific yield.
std::string printUnmaskedThreads()
Creates a string representation of those threads which are available to the processes.
int getNumberOfUnmaskedThreads()
This routine runs through the Unix thread mask and counts how many threads SLURM allows a code to use...
Have to include this header, as I need access to the SYCL_EXTERNAL keyword.