vSMC  v3.0.0
Scalable Monte Carlo
Classes | Namespaces | Macros | Functions
opencl.hpp File Reference
#include <vsmc/internal/common.hpp>
#include <CL/opencl.h>

Go to the source code of this file.

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...
 

Namespaces

 vsmc
 
 vsmc::internal
 

Macros

#define VSMC_DEFINE_UTILITY_OPENCL_GET_INFO(Class, type, name, Name)
 

Functions

inline::cl_int vsmc::internal::cl_error_check (::cl_int status, const char *cpp, const char *c)
 
std::vector< CLPlatform > vsmc::cl_get_platform ()
 clGetPlatformIDs More...
 
template<typename CLType >
std::vector< CLType > vsmc::internal::cl_vec_c2cpp (::cl_uint n, const typename CLType::pointer *ptr)
 
template<typename CLType >
std::vector< typename CLType::pointer > vsmc::internal::cl_vec_cpp2c (::cl_uint n, const CLType *ptr)
 
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...
 

Macro Definition Documentation

#define VSMC_DEFINE_UTILITY_OPENCL_GET_INFO (   Class,
  type,
  name,
  Name 
)

Definition at line 62 of file opencl.hpp.