#include <opencl_state.h>
Definition at line 33 of file opencl_state.h.
◆ OpenCLState()
bdm::OpenCLState::OpenCLState |
( |
| ) |
|
|
default |
◆ ClAssert()
int bdm::OpenCLState::ClAssert |
( |
int const |
code, |
|
|
char const *const |
file, |
|
|
int const |
line, |
|
|
bool const |
abort |
|
) |
| |
◆ DisableSupportForDouble()
void bdm::OpenCLState::DisableSupportForDouble |
( |
| ) |
|
Disable support for double-precision floating point operations.
◆ EnableSupportForDouble()
void bdm::OpenCLState::EnableSupportForDouble |
( |
| ) |
|
Enable support for double-precision floating point operations.
◆ GetErrorString()
const char * bdm::OpenCLState::GetErrorString |
( |
int |
error | ) |
|
◆ GetFp64Support()
std::vector<bool>* bdm::OpenCLState::GetFp64Support |
( |
| ) |
|
◆ GetOpenCLCommandQueue()
cl::CommandQueue * bdm::OpenCLState::GetOpenCLCommandQueue |
( |
| ) |
|
◆ GetOpenCLContext()
cl::Context * bdm::OpenCLState::GetOpenCLContext |
( |
| ) |
|
◆ GetOpenCLDeviceList()
std::vector< cl::Device > * bdm::OpenCLState::GetOpenCLDeviceList |
( |
| ) |
|
◆ GetOpenCLProgramList()
std::vector< cl::Program > * bdm::OpenCLState::GetOpenCLProgramList |
( |
| ) |
|
◆ HasSupportForDouble()
bool bdm::OpenCLState::HasSupportForDouble |
( |
| ) |
|
Returns whether or not a GPU without support for double-precision was found
◆ SelectGpu()
void bdm::OpenCLState::SelectGpu |
( |
int |
gpu | ) |
|
◆ impl_
The documentation for this class was generated from the following files: