| Linderdaum Engine: clCLContext Class Reference | ![]() |
OpenCL GPGPU context. More...
#include <CLContext.h>
Public Member Functions | |
| clCLContext () | |
| virtual | ~clCLContext () |
| virtual bool | InitContext () |
| Create new GPGPU context (non-reenterable) | |
| virtual void | CheckError (const LString &File, const LString &Line, const LString &Info) const |
| virtual clCLBuffer * | CreateBuffer () const |
| virtual clCLProgram * | CreateProgramWithSource (const LString &Source) const |
| virtual cl_context | GetDeviceContext () const |
| virtual cl_command_queue | GetCommandQueue () const |
| virtual cl_int * | GetLastErrorPtr () |
Private Member Functions | |
| void | CreateContext () |
| void | DeleteContext () |
| void | LogPlatformsInfo () |
| void | LogDevicesInfo () |
Private Attributes | |
| cl_int | FLastError |
| cl_platform_id * | FPlatforms |
| cl_uint | FNumPlatforms |
| cl_device_id * | FDevices |
| cl_uint | FNumDevices |
| cl_context | FDeviceContext |
| cl_command_queue | FCmdQueue |
OpenCL GPGPU context.
| clCLContext::clCLContext | ( | ) |
| clCLContext::~clCLContext | ( | ) | [virtual] |
| virtual void clCLContext::CheckError | ( | const LString & | File, |
| const LString & | Line, | ||
| const LString & | Info | ||
| ) | const [virtual] |
| clCLBuffer * clCLContext::CreateBuffer | ( | ) | const [virtual] |
| void clCLContext::CreateContext | ( | ) | [private] |
| clCLProgram * clCLContext::CreateProgramWithSource | ( | const LString & | Source | ) | const [virtual] |
| void clCLContext::DeleteContext | ( | ) | [private] |
| virtual cl_command_queue clCLContext::GetCommandQueue | ( | ) | const [inline, virtual] |
| virtual cl_context clCLContext::GetDeviceContext | ( | ) | const [inline, virtual] |
| virtual cl_int* clCLContext::GetLastErrorPtr | ( | ) | [inline, virtual] |
| bool clCLContext::InitContext | ( | ) | [virtual] |
Create new GPGPU context (non-reenterable)
Implements iGPGPUContext.
| void clCLContext::LogDevicesInfo | ( | ) | [private] |
| void clCLContext::LogPlatformsInfo | ( | ) | [private] |
cl_command_queue clCLContext::FCmdQueue [private] |
cl_context clCLContext::FDeviceContext [private] |
cl_device_id* clCLContext::FDevices [private] |
cl_int clCLContext::FLastError [private] |
cl_uint clCLContext::FNumDevices [private] |
cl_uint clCLContext::FNumPlatforms [private] |
cl_platform_id* clCLContext::FPlatforms [private] |