23 #ifndef COM_DAFER45_TBTK_GPU_RESOURCE_MANAGER 24 #define COM_DAFER45_TBTK_GPU_RESOURCE_MANAGER 60 omp_lock_t busyDevicesLock;
63 void createDeviceTable();
66 void destroyDeviceTable();
int allocateDevice()
Definition: GPUResourceManager.cpp:42
static GPUResourceManager & getInstance()
Definition: GPUResourceManager.cpp:36
int getNumDevices()
Definition: GPUResourceManager.h:69
Definition: GPUResourceManager.h:30
Definition: AbstractOperator.h:26
void freeDevice(int device)
Definition: GPUResourceManager.cpp:72