vSMC  v3.0.0
Scalable Monte Carlo
Classes | Functions
OpenCL

Resource management for OpenCL. More...

Classes

class  vsmc::CLBase< CLPtr, Derived >
 OpenCL resource management base class. More...
 
class  vsmc::CLCommandQueue
 OpenCL cl_command_queue More...
 
class  vsmc::CLContext
 OpenCL cl_context More...
 
class  vsmc::CLContextProperties
 OpenCL cl_context_properties More...
 
class  vsmc::CLDevice
 OpenCL cl_device_id More...
 
class  vsmc::CLEvent
 OpenCL cl_event More...
 
class  vsmc::CLKernel
 OpenCL cl_kernel More...
 
class  vsmc::CLMemory
 OpenCL cl_mem More...
 
class  vsmc::CLNDRange
 OpenCL NDRange concept. More...
 
class  vsmc::CLPlatform
 OpenCL cl_platform_id More...
 
class  vsmc::CLProgram
 OpenCL cl_program More...
 

Functions

std::vector< CLPlatform > vsmc::cl_get_platform ()
 clGetPlatformIDs More...
 
template<typename CLPtr , typename Derived >
bool vsmc::operator!= (const CLBase< CLPtr, Derived > &ptr1, const CLBase< CLPtr, Derived > &ptr2)
 Comparison of inequality of two CLBase objects. More...
 
template<typename CLPtr , typename Derived >
bool vsmc::operator== (const CLBase< CLPtr, Derived > &ptr1, const CLBase< CLPtr, Derived > &ptr2)
 Comparison of equality of two CLBase objects. More...
 
template<typename CLPtr , typename Derived >
void vsmc::swap (const CLBase< CLPtr, Derived > &ptr1, const CLBase< CLPtr, Derived > &ptr2)
 Swap two CLBase objects. More...
 

Detailed Description

Resource management for OpenCL.

Function Documentation

std::vector<CLPlatform> vsmc::cl_get_platform ( )
inline

clGetPlatformIDs

Definition at line 361 of file opencl.hpp.

template<typename CLPtr , typename Derived >
bool vsmc::operator!= ( const CLBase< CLPtr, Derived > &  ptr1,
const CLBase< CLPtr, Derived > &  ptr2 
)
inline

Comparison of inequality of two CLBase objects.

Definition at line 232 of file opencl.hpp.

template<typename CLPtr , typename Derived >
bool vsmc::operator== ( const CLBase< CLPtr, Derived > &  ptr1,
const CLBase< CLPtr, Derived > &  ptr2 
)
inline

Comparison of equality of two CLBase objects.

Definition at line 223 of file opencl.hpp.

template<typename CLPtr , typename Derived >
void vsmc::swap ( const CLBase< CLPtr, Derived > &  ptr1,
const CLBase< CLPtr, Derived > &  ptr2 
)
inline

Swap two CLBase objects.

Definition at line 241 of file opencl.hpp.