#include <MHO_OpenCLInterface.hh>
◆ MHO_OpenCLInterface()
hops::MHO_OpenCLInterface::MHO_OpenCLInterface |
( |
| ) |
|
|
protected |
◆ ~MHO_OpenCLInterface()
hops::MHO_OpenCLInterface::~MHO_OpenCLInterface |
( |
| ) |
|
|
protectedvirtual |
◆ FillErrorCodeMaps()
void hops::MHO_OpenCLInterface::FillErrorCodeMaps |
( |
| ) |
|
|
protected |
◆ GetContext()
cl::Context hops::MHO_OpenCLInterface::GetContext |
( |
| ) |
const |
|
inline |
◆ GetDevice()
cl::Device hops::MHO_OpenCLInterface::GetDevice |
( |
| ) |
const |
|
inline |
◆ GetDevices()
CL_VECTOR_TYPE< cl::Device > hops::MHO_OpenCLInterface::GetDevices |
( |
| ) |
const |
|
inline |
◆ GetErrorMessage()
std::string hops::MHO_OpenCLInterface::GetErrorMessage |
( |
int |
code | ) |
|
|
inline |
◆ GetInstance()
◆ GetKernelPath()
std::string hops::MHO_OpenCLInterface::GetKernelPath |
( |
| ) |
const |
|
inline |
◆ GetNumberOfDevices()
unsigned int hops::MHO_OpenCLInterface::GetNumberOfDevices |
( |
| ) |
const |
|
inline |
◆ GetQueue()
cl::CommandQueue & hops::MHO_OpenCLInterface::GetQueue |
( |
int |
i = -1 | ) |
const |
◆ InitializeOpenCL()
void hops::MHO_OpenCLInterface::InitializeOpenCL |
( |
| ) |
|
|
protected |
Queries the host for available OpenCL platforms, and constructs a Context.
◆ SetGPU()
void hops::MHO_OpenCLInterface::SetGPU |
( |
unsigned int |
i | ) |
|
Selects a device for use in OpenCL calculations.
◆ SetKernelPath()
void hops::MHO_OpenCLInterface::SetKernelPath |
( |
std::string |
s | ) |
|
|
inline |
◆ fCLDeviceID
unsigned int hops::MHO_OpenCLInterface::fCLDeviceID |
|
protected |
◆ fContext
cl::Context* hops::MHO_OpenCLInterface::fContext |
|
protected |
◆ fDevices
◆ fKernelPath
std::string hops::MHO_OpenCLInterface::fKernelPath |
|
protected |
◆ fOpenCLCode2ErrorMap
std::map< int, std::string > hops::MHO_OpenCLInterface::fOpenCLCode2ErrorMap |
|
protected |
◆ fOpenCLError2CodeMap
std::map< std::string, int > hops::MHO_OpenCLInterface::fOpenCLError2CodeMap |
|
protected |
◆ fOpenCLInterface
◆ fPlatforms
◆ fQueues
std::vector< cl::CommandQueue* > hops::MHO_OpenCLInterface::fQueues |
|
mutableprotected |
The documentation for this class was generated from the following files: