Namespaces | Classes | Typedefs | Functions | Variables
cl Namespace Reference

The OpenCL C++ bindings are defined within this namespace. More...

Namespaces

 detail
 

Classes

class  Buffer
 Class interface for Buffer Memory Objects. More...
 
class  BufferGL
 Class interface for GL Buffer Memory Objects. More...
 
class  BufferRenderGL
 Class interface for GL Render Buffer Memory Objects. More...
 
class  CL_EXT_SUFFIX__VERSION_1_1_DEPRECATED
 Class interface for GL 2D Image Memory objects. More...
 
class  CommandQueue
 CommandQueue interface for cl_command_queue. More...
 
class  Context
 Class interface for cl_context. More...
 
class  Device
 Class interface for cl_device_id. More...
 
struct  EnqueueArgs
 
class  Event
 Class interface for cl_event. More...
 
class  Image
 C++ base class for Image Memory objects. More...
 
class  Image2D
 Class interface for 2D Image Memory objects. More...
 
class  Image3D
 Class interface for 3D Image Memory objects. More...
 
class  Image3DGL
 Class interface for GL 3D Image Memory objects. More...
 
struct  ImageFormat
 Adds constructors and member functions for cl_image_format. More...
 
class  Kernel
 Class interface for cl_kernel. More...
 
struct  LocalSpaceArg
 Local address wrapper for use with Kernel::setArg. More...
 
struct  make_kernel
 
class  Memory
 Class interface for cl_mem. More...
 
class  NDRange
 Class interface for specifying NDRange values. More...
 
class  Platform
 Class interface for cl_platform_id. More...
 
class  Program
 Program interface that implements cl_program. More...
 
class  Sampler
 Class interface for cl_sampler. More...
 
class  size_t
 class used to interface between C++ and OpenCL C calls that require arrays of size_t values, whose size is known statically. More...
 

Typedefs

typedef std::string STRING_CLASS
 

Functions

CL_EXT_PREFIX__VERSION_1_1_DEPRECATED LocalSpaceArg __local (::size_t size) CL_EXT_SUFFIX__VERSION_1_1_DEPRECATED
 Helper function for generating LocalSpaceArg objects. Deprecated. Replaced with Local. More...
 
template<typename IteratorType >
cl_int copy (IteratorType startIterator, IteratorType endIterator, cl::Buffer &buffer)
 
template<typename IteratorType >
cl_int copy (const cl::Buffer &buffer, IteratorType startIterator, IteratorType endIterator)
 
template<typename IteratorType >
cl_int copy (const CommandQueue &queue, IteratorType startIterator, IteratorType endIterator, cl::Buffer &buffer)
 
template<typename IteratorType >
cl_int copy (const CommandQueue &queue, const cl::Buffer &buffer, IteratorType startIterator, IteratorType endIterator)
 
cl_int enqueueCopyBuffer (const Buffer &src, const Buffer &dst,::size_t src_offset,::size_t dst_offset,::size_t size, const VECTOR_CLASS< Event > *events=NULL, Event *event=NULL)
 
cl_int enqueueCopyBufferToImage (const Buffer &src, const Image &dst,::size_t src_offset, const size_t< 3 > &dst_origin, const size_t< 3 > &region, const VECTOR_CLASS< Event > *events=NULL, Event *event=NULL)
 
cl_int enqueueCopyImage (const Image &src, const Image &dst, const size_t< 3 > &src_origin, const size_t< 3 > &dst_origin, const size_t< 3 > &region, const VECTOR_CLASS< Event > *events=NULL, Event *event=NULL)
 
cl_int enqueueCopyImageToBuffer (const Image &src, const Buffer &dst, const size_t< 3 > &src_origin, const size_t< 3 > &region,::size_t dst_offset, const VECTOR_CLASS< Event > *events=NULL, Event *event=NULL)
 
void * enqueueMapBuffer (const Buffer &buffer, cl_bool blocking, cl_map_flags flags,::size_t offset,::size_t size, const VECTOR_CLASS< Event > *events=NULL, Event *event=NULL, cl_int *err=NULL)
 
cl_int enqueueReadBuffer (const Buffer &buffer, cl_bool blocking,::size_t offset,::size_t size, void *ptr, const VECTOR_CLASS< Event > *events=NULL, Event *event=NULL)
 
cl_int enqueueReadImage (const Image &image, cl_bool blocking, const size_t< 3 > &origin, const size_t< 3 > &region,::size_t row_pitch,::size_t slice_pitch, void *ptr, const VECTOR_CLASS< Event > *events=NULL, Event *event=NULL)
 
cl_int enqueueUnmapMemObject (const Memory &memory, void *mapped_ptr, const VECTOR_CLASS< Event > *events=NULL, Event *event=NULL)
 
cl_int enqueueWriteBuffer (const Buffer &buffer, cl_bool blocking,::size_t offset,::size_t size, const void *ptr, const VECTOR_CLASS< Event > *events=NULL, Event *event=NULL)
 
cl_int enqueueWriteImage (const Image &image, cl_bool blocking, const size_t< 3 > &origin, const size_t< 3 > &region,::size_t row_pitch,::size_t slice_pitch, void *ptr, const VECTOR_CLASS< Event > *events=NULL, Event *event=NULL)
 
cl_int finish (void)
 
cl_int flush (void)
 
LocalSpaceArg Local (::size_t size)
 Helper function for generating LocalSpaceArg objects. More...
 
static cl_int WaitForEvents (const VECTOR_CLASS< Event > &events)
 Blocks the calling thread until every event specified is complete. More...
 

Variables

static const NDRange NullRange
 A zero-dimensional range. More...
 

Detailed Description

The OpenCL C++ bindings are defined within this namespace.

Typedef Documentation

typedef std::string cl::STRING_CLASS

CL 1.2 marker and barrier commands

Definition at line 473 of file cl.hpp.

Function Documentation

LocalSpaceArg cl::__local ( ::size_t  size)
inline

Helper function for generating LocalSpaceArg objects. Deprecated. Replaced with Local.

__local

Definition at line 4818 of file cl.hpp.

template<typename IteratorType >
cl_int cl::copy ( IteratorType  startIterator,
IteratorType  endIterator,
cl::Buffer buffer 
)
inline

Blocking copy operation between iterators and a buffer. Host to Device. Uses default command queue.

Definition at line 6822 of file cl.hpp.

template<typename IteratorType >
cl_int cl::copy ( const cl::Buffer buffer,
IteratorType  startIterator,
IteratorType  endIterator 
)
inline

Blocking copy operation between iterators and a buffer. Device to Host. Uses default command queue.

Definition at line 6838 of file cl.hpp.

template<typename IteratorType >
cl_int cl::copy ( const CommandQueue queue,
IteratorType  startIterator,
IteratorType  endIterator,
cl::Buffer buffer 
)
inline

Blocking copy operation between iterators and a buffer. Host to Device. Uses specified queue.

Definition at line 6854 of file cl.hpp.

template<typename IteratorType >
cl_int cl::copy ( const CommandQueue queue,
const cl::Buffer buffer,
IteratorType  startIterator,
IteratorType  endIterator 
)
inline

Blocking copy operation between iterators and a buffer. Device to Host. Uses specified queue.

Definition at line 6893 of file cl.hpp.

cl_int cl::enqueueCopyBuffer ( const Buffer src,
const Buffer dst,
::size_t  src_offset,
::size_t  dst_offset,
::size_t  size,
const VECTOR_CLASS< Event > *  events = NULL,
Event event = NULL 
)
inline

Definition at line 6797 of file cl.hpp.

cl_int cl::enqueueCopyBufferToImage ( const Buffer src,
const Image dst,
::size_t  src_offset,
const size_t< 3 > &  dst_origin,
const size_t< 3 > &  region,
const VECTOR_CLASS< Event > *  events = NULL,
Event event = NULL 
)
inline

Definition at line 7138 of file cl.hpp.

cl_int cl::enqueueCopyImage ( const Image src,
const Image dst,
const size_t< 3 > &  src_origin,
const size_t< 3 > &  dst_origin,
const size_t< 3 > &  region,
const VECTOR_CLASS< Event > *  events = NULL,
Event event = NULL 
)
inline

Definition at line 7086 of file cl.hpp.

cl_int cl::enqueueCopyImageToBuffer ( const Image src,
const Buffer dst,
const size_t< 3 > &  src_origin,
const size_t< 3 > &  region,
::size_t  dst_offset,
const VECTOR_CLASS< Event > *  events = NULL,
Event event = NULL 
)
inline

Definition at line 7112 of file cl.hpp.

void* cl::enqueueMapBuffer ( const Buffer buffer,
cl_bool  blocking,
cl_map_flags  flags,
::size_t  offset,
::size_t  size,
const VECTOR_CLASS< Event > *  events = NULL,
Event event = NULL,
cl_int *  err = NULL 
)
inline

Definition at line 6738 of file cl.hpp.

cl_int cl::enqueueReadBuffer ( const Buffer buffer,
cl_bool  blocking,
::size_t  offset,
::size_t  size,
void *  ptr,
const VECTOR_CLASS< Event > *  events = NULL,
Event event = NULL 
)
inline

Definition at line 6700 of file cl.hpp.

cl_int cl::enqueueReadImage ( const Image image,
cl_bool  blocking,
const size_t< 3 > &  origin,
const size_t< 3 > &  region,
::size_t  row_pitch,
::size_t  slice_pitch,
void *  ptr,
const VECTOR_CLASS< Event > *  events = NULL,
Event event = NULL 
)
inline

Definition at line 7026 of file cl.hpp.

cl_int cl::enqueueUnmapMemObject ( const Memory memory,
void *  mapped_ptr,
const VECTOR_CLASS< Event > *  events = NULL,
Event event = NULL 
)
inline

Definition at line 6769 of file cl.hpp.

cl_int cl::enqueueWriteBuffer ( const Buffer buffer,
cl_bool  blocking,
::size_t  offset,
::size_t  size,
const void *  ptr,
const VECTOR_CLASS< Event > *  events = NULL,
Event event = NULL 
)
inline

Definition at line 6719 of file cl.hpp.

cl_int cl::enqueueWriteImage ( const Image image,
cl_bool  blocking,
const size_t< 3 > &  origin,
const size_t< 3 > &  region,
::size_t  row_pitch,
::size_t  slice_pitch,
void *  ptr,
const VECTOR_CLASS< Event > *  events = NULL,
Event event = NULL 
)
inline

Definition at line 7056 of file cl.hpp.

cl_int cl::finish ( void  )
inline

Definition at line 7177 of file cl.hpp.

cl_int cl::flush ( void  )
inline

Definition at line 7165 of file cl.hpp.

LocalSpaceArg cl::Local ( ::size_t  size)
inline

Helper function for generating LocalSpaceArg objects.

Local

Definition at line 4828 of file cl.hpp.

static cl_int cl::WaitForEvents ( const VECTOR_CLASS< Event > &  events) volatile
inlinestatic

Blocks the calling thread until every event specified is complete.

Wraps clWaitForEvents().

Definition at line 3000 of file cl.hpp.

Variable Documentation

const NDRange cl::NullRange
static

A zero-dimensional range.

Definition at line 4784 of file cl.hpp.



kinect2_registration
Author(s):
autogenerated on Wed Jan 3 2018 03:48:04