TBTK
TBTK::GPUResourceManager Class Reference

Public Member Functions

int getNumDevices ()
 
int allocateDevice ()
 
void freeDevice (int device)
 

Static Public Member Functions

static GPUResourceManagergetInstance ()
 

Member Function Documentation

int TBTK::GPUResourceManager::allocateDevice ( )

Allocate GPU device.

void TBTK::GPUResourceManager::freeDevice ( int  device)

Free GPU device.

static GPUResourceManager& TBTK::GPUResourceManager::getInstance ( )
static

Get singleton instance.

int TBTK::GPUResourceManager::getNumDevices ( )
inline

Get number of GPU devices.


The documentation for this class was generated from the following file: