Clover Git
OpenCL 1.1 software implementation
|
Reading or writing images. More...
#include <events.h>
Public Member Functions | |
ReadWriteImageEvent (CommandQueue *parent, Image2D *image, const size_t origin[3], const size_t region[3], size_t row_pitch, size_t slice_pitch, void *ptr, cl_uint num_events_in_wait_list, const Event **event_wait_list, cl_int *errcode_ret) |
Reading or writing images.
This class only converts some of the arguments given to its constructor to the one of Coal::ReadWriteBufferRectEvent
. For example, the source row and slice pitches are read from the Coal::Image2D
object.
ReadWriteImageEvent::ReadWriteImageEvent | ( | CommandQueue * | parent, |
Image2D * | image, | ||
const size_t | origin[3], | ||
const size_t | region[3], | ||
size_t | row_pitch, | ||
size_t | slice_pitch, | ||
void * | ptr, | ||
cl_uint | num_events_in_wait_list, | ||
const Event ** | event_wait_list, | ||
cl_int * | errcode_ret | ||
) |
Definition at line 1246 of file events.cpp.
References Coal::MemObject::Image2D, and Coal::Image2D::type().