cl::CommandQueue Class Reference

CommandQueue interface for cl_command_queue. More...

#include <cl.hpp>

Inheritance diagram for cl::CommandQueue:
Inheritance graph
[legend]
Collaboration diagram for cl::CommandQueue:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CommandQueue (const Context &context, const Device &device, cl_command_queue_properties properties=0, cl_int *err=NULL)
 CommandQueue ()
 CommandQueue (const CommandQueue &commandQueue)
CommandQueueoperator= (const CommandQueue &rhs)
template<typename T >
cl_int getInfo (cl_command_queue_info name, T *param) const
template<cl_int name>
detail::param_traits
< detail::cl_command_queue_info,
name >::param_type 
getInfo (cl_int *err=NULL) const
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) const
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) const
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) const
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) const
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) const
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) const
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) const
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) const
voidenqueueMapBuffer (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) const
voidenqueueMapImage (const Image &buffer, cl_bool blocking, cl_map_flags flags, const size_t< 3 > &origin, const size_t< 3 > &region,::size_t *row_pitch,::size_t *slice_pitch, const VECTOR_CLASS< Event > *events=NULL, Event *event=NULL, cl_int *err=NULL) const
cl_int enqueueUnmapMemObject (const Memory &memory, void *mapped_ptr, const VECTOR_CLASS< Event > *events=NULL, Event *event=NULL) const
cl_int enqueueNDRangeKernel (const Kernel &kernel, const NDRange &offset, const NDRange &global, const NDRange &local, const VECTOR_CLASS< Event > *events=NULL, Event *event=NULL) const
cl_int enqueueTask (const Kernel &kernel, const VECTOR_CLASS< Event > *events=NULL, Event *event=NULL) const
cl_int enqueueNativeKernel (void(*userFptr)(void *), std::pair< void *,::size_t > args, const VECTOR_CLASS< Memory > *mem_objects=NULL, const VECTOR_CLASS< const void * > *mem_locs=NULL, const VECTOR_CLASS< Event > *events=NULL, Event *event=NULL) const
cl_int enqueueMarker (Event *event=NULL) const
cl_int enqueueWaitForEvents (const VECTOR_CLASS< Event > &events) const
cl_int enqueueAcquireGLObjects (const VECTOR_CLASS< Memory > *mem_objects=NULL, const VECTOR_CLASS< Event > *events=NULL, Event *event=NULL) const
cl_int enqueueReleaseGLObjects (const VECTOR_CLASS< Memory > *mem_objects=NULL, const VECTOR_CLASS< Event > *events=NULL, Event *event=NULL) const
cl_int enqueueBarrier () const
cl_int flush () const
cl_int finish () const

Detailed Description

CommandQueue interface for cl_command_queue.


Constructor & Destructor Documentation

cl::CommandQueue::CommandQueue ( const Context context,
const Device device,
cl_command_queue_properties  properties = 0,
cl_int *  err = NULL 
) [inline]
cl::CommandQueue::CommandQueue (  )  [inline]
cl::CommandQueue::CommandQueue ( const CommandQueue commandQueue  )  [inline]

Member Function Documentation

cl_int cl::CommandQueue::enqueueAcquireGLObjects ( const VECTOR_CLASS< Memory > *  mem_objects = NULL,
const VECTOR_CLASS< Event > *  events = NULL,
Event event = NULL 
) const [inline]
cl_int cl::CommandQueue::enqueueBarrier (  )  const [inline]
cl_int cl::CommandQueue::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 
) const [inline]

Here is the call graph for this function:

cl_int cl::CommandQueue::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 
) const [inline]

Here is the call graph for this function:

cl_int cl::CommandQueue::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 
) const [inline]

Here is the call graph for this function:

cl_int cl::CommandQueue::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 
) const [inline]

Here is the call graph for this function:

void* cl::CommandQueue::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 
) const [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

void* cl::CommandQueue::enqueueMapImage ( const Image buffer,
cl_bool  blocking,
cl_map_flags  flags,
const size_t< 3 > &  origin,
const size_t< 3 > &  region,
::size_t row_pitch,
::size_t slice_pitch,
const VECTOR_CLASS< Event > *  events = NULL,
Event event = NULL,
cl_int *  err = NULL 
) const [inline]

Here is the call graph for this function:

cl_int cl::CommandQueue::enqueueMarker ( Event event = NULL  )  const [inline]
cl_int cl::CommandQueue::enqueueNativeKernel ( void(*)(void *)  userFptr,
std::pair< void *,::size_t args,
const VECTOR_CLASS< Memory > *  mem_objects = NULL,
const VECTOR_CLASS< const void * > *  mem_locs = NULL,
const VECTOR_CLASS< Event > *  events = NULL,
Event event = NULL 
) const [inline]
cl_int cl::CommandQueue::enqueueNDRangeKernel ( const Kernel kernel,
const NDRange offset,
const NDRange global,
const NDRange local,
const VECTOR_CLASS< Event > *  events = NULL,
Event event = NULL 
) const [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

cl_int cl::CommandQueue::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 
) const [inline]

Here is the call graph for this function:

cl_int cl::CommandQueue::enqueueReleaseGLObjects ( const VECTOR_CLASS< Memory > *  mem_objects = NULL,
const VECTOR_CLASS< Event > *  events = NULL,
Event event = NULL 
) const [inline]
cl_int cl::CommandQueue::enqueueTask ( const Kernel kernel,
const VECTOR_CLASS< Event > *  events = NULL,
Event event = NULL 
) const [inline]
cl_int cl::CommandQueue::enqueueUnmapMemObject ( const Memory memory,
void mapped_ptr,
const VECTOR_CLASS< Event > *  events = NULL,
Event event = NULL 
) const [inline]

Here is the caller graph for this function:

cl_int cl::CommandQueue::enqueueWaitForEvents ( const VECTOR_CLASS< Event > &  events  )  const [inline]
cl_int cl::CommandQueue::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 
) const [inline]

Here is the call graph for this function:

cl_int cl::CommandQueue::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 
) const [inline]

Here is the call graph for this function:

cl_int cl::CommandQueue::finish (  )  const [inline]
cl_int cl::CommandQueue::flush (  )  const [inline]
template<cl_int name>
detail::param_traits<detail::cl_command_queue_info, name>::param_type cl::CommandQueue::getInfo ( cl_int *  err = NULL  )  const [inline]

Here is the call graph for this function:

template<typename T >
cl_int cl::CommandQueue::getInfo ( cl_command_queue_info  name,
T param 
) const [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

CommandQueue& cl::CommandQueue::operator= ( const CommandQueue rhs  )  [inline]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Jun 2020 for ModFEM by  doxygen 1.6.1