Device context wrapper for OpenCL. More...
#include <cmtkDeviceContextCL.h>
Public Types | |
typedef DeviceContextCL | Self |
This class. | |
Static Public Member Functions | |
static Self & | GetGlobalContext () |
Get the global context instance. | |
Private Member Functions | |
DeviceContextCL () | |
Constructor. | |
~DeviceContextCL () | |
Destructor. | |
Private Attributes | |
cl_context | m_Context |
The OpenCL context handle. | |
std::vector< cl_device_id > | m_DeviceIDs |
Vector of device infos. |
Device context wrapper for OpenCL.
Definition at line 53 of file cmtkDeviceContextCL.h.
This class.
Definition at line 59 of file cmtkDeviceContextCL.h.
cmtk::DeviceContextCL::DeviceContextCL | ( | ) | [private] |
Constructor.
Definition at line 35 of file cmtkDeviceContextCL.cxx.
References m_Context, m_DeviceIDs, and NULL.
cmtk::DeviceContextCL::~DeviceContextCL | ( | ) | [private] |
Destructor.
Definition at line 61 of file cmtkDeviceContextCL.cxx.
cl_context cmtk::DeviceContextCL::m_Context [private] |
The OpenCL context handle.
Definition at line 66 of file cmtkDeviceContextCL.h.
Referenced by DeviceContextCL().
std::vector<cl_device_id> cmtk::DeviceContextCL::m_DeviceIDs [private] |
Vector of device infos.
Definition at line 69 of file cmtkDeviceContextCL.h.
Referenced by DeviceContextCL().