BioDynaMo
v1.03.58-27764645
|
#include <opencl_state.h>
Classes | |
struct | OpenCLImpl |
struct | OpenCLImplDestructor |
Public Member Functions | |
OpenCLState () | |
cl::Context * | GetOpenCLContext () |
Returns the OpenCL Context. More... | |
cl::CommandQueue * | GetOpenCLCommandQueue () |
Returns the OpenCL command queue. More... | |
std::vector< cl::Device > * | GetOpenCLDeviceList () |
Returns the OpenCL device (GPU) list. More... | |
std::vector< cl::Program > * | GetOpenCLProgramList () |
Returns the OpenCL program (kernel) list. More... | |
const char * | GetErrorString (int error) |
int | ClAssert (int const code, char const *const file, int const line, bool const abort) |
Private Attributes | |
std::unique_ptr< OpenCLImpl, OpenCLImplDestructor > | impl_ |
Definition at line 33 of file opencl_state.h.
|
default |
int bdm::OpenCLState::ClAssert | ( | int const | code, |
char const *const | file, | ||
int const | line, | ||
bool const | abort | ||
) |
Definition at line 240 of file opencl_state.cc.
const char * bdm::OpenCLState::GetErrorString | ( | int | error | ) |
Definition at line 239 of file opencl_state.cc.
cl::CommandQueue * bdm::OpenCLState::GetOpenCLCommandQueue | ( | ) |
Returns the OpenCL command queue.
Definition at line 234 of file opencl_state.cc.
cl::Context * bdm::OpenCLState::GetOpenCLContext | ( | ) |
Returns the OpenCL Context.
Definition at line 233 of file opencl_state.cc.
std::vector< cl::Device > * bdm::OpenCLState::GetOpenCLDeviceList | ( | ) |
Returns the OpenCL device (GPU) list.
Definition at line 235 of file opencl_state.cc.
std::vector< cl::Program > * bdm::OpenCLState::GetOpenCLProgramList | ( | ) |
Returns the OpenCL program (kernel) list.
Definition at line 236 of file opencl_state.cc.
|
private |
Definition at line 60 of file opencl_state.h.