Rank-global enumerator for tasks.
static tarch::multicore::MultiReadSingleWriteSemaphore & _enumeratorSequenceSemaphore()
We use a method instead of a member variable so that thhe static semaphore is is guaranteed to be ini...
static std::vector< tarch::Enumerator * > _enumerator
int _enumeratorNumber
Number of enumerator that's tied to this instance.
int size() const
Number of numbers handed out so far.
int getNumber()
Get a new task number.
static constexpr int NoNumber
static tarch::logging::Log _log
void releaseNumber(int value)
Release a task number.
std::string toString() const
Have to include this header, as I need access to the SYCL_EXTERNAL keyword.