38 #ifndef NUMA_NUMACOMM_H
39 #define NUMA_NUMACOMM_H
131 template<
class Allocator,
typename T>
159 template<
class Allocator,
typename T>
162 Allocator::free(data);
176 #endif // NUMA_NUMACOMM_H
unsigned int totalThreads() const
asagi::Grid::Error broadcast(T &value, unsigned int rootDomain=0)
unsigned int threadId() const
asagi::Grid::Error allocate(unsigned long size, T *&data)
Synchronizes a set of threads.
NumaComm * createComm() const
unsigned int totalDomains() const
NumaComm(const Numa &numa)
bool broadcast(T &data, unsigned int numThreads, unsigned int current, unsigned int root=0)
unsigned int threadId() const
Include file for C and C++ API.
unsigned int domainId() const
unsigned int totalDomains() const
unsigned int domainId() const
unsigned int totalThreads() const