WPOCT Software Developer's Kit (SDK)
SDK For using Wasatch Photonics OCT Spectrometers
Public Member Functions | Static Public Member Functions | Protected Attributes | Static Protected Attributes | List of all members
GPUManager Class Reference

Public Member Functions

virtual bool HasGPU ()
 
virtual bool UseOpenCl ()
 
virtual bool UseCPU ()
 
virtual int LoadKernel (int programIndex, char *kernelName)
 Outputs an index to where the kernel is in the m_kernel_vector.
 
virtual void OutputError (int error, const char *message)
 
virtual size_t GetWorkgroupMaximumSize ()
 
virtual int ConfigureGPUFramework ()
 

Static Public Member Functions

static int GetPreferredVecWidth ()
 
static long long GetGlobalGraphicsCardMemorySize ()
 
static long long GetLocalGraphicsCardMemorySize ()
 

Protected Attributes

bool _gpuFrameworkConfigured
 

Static Protected Attributes

static int _prefVecWidth = 1
 
static int _numGPUObjects = 0
 
static long long _globalGraphicsCardMemorySize = 0
 
static long long _localGraphicsCardMemorySize = 0
 

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