BioDynaMo
v1.05.120-25dc9790
|
Go to the documentation of this file.
15 #ifndef PIMPL_HELPERS_OPENCL_
16 #define PIMPL_HELPERS_OPENCL_
23 #endif // PIMPL_HELPERS_OPENCL_
25 #ifndef CORE_GPU_OPENCL_STATE_H_
26 #define CORE_GPU_OPENCL_STATE_H_
65 int ClAssert(
int const code,
char const*
const file,
int const line,
74 std::unique_ptr<OpenCLImpl, OpenCLImplDestructor>
impl_;
79 #endif // CORE_GPU_OPENCL_STATE_H_
void operator()(OpenCLImpl *p)
std::unique_ptr< OpenCLImpl, OpenCLImplDestructor > impl_
std::vector< cl::Program > * GetOpenCLProgramList()
Returns the OpenCL program (kernel) list.
cl::Context * GetOpenCLContext()
Returns the OpenCL Context.
std::vector< cl::Device > * GetOpenCLDeviceList()
Returns the OpenCL device (GPU) list.
bool HasSupportForDouble()
void DisableSupportForDouble()
Disable support for double-precision floating point operations.
const char * GetErrorString(int error)
std::vector< bool > * GetFp64Support()
void EnableSupportForDouble()
Enable support for double-precision floating point operations.
cl::CommandQueue * GetOpenCLCommandQueue()
Returns the OpenCL command queue.
int ClAssert(int const code, char const *const file, int const line, bool const abort)