Clover Git
OpenCL 1.1 software implementation
|
Reading or writing to a buffer. More...
#include <events.h>
Public Member Functions | |
ReadWriteBufferEvent (CommandQueue *parent, MemObject *buffer, size_t offset, size_t cb, void *ptr, cl_uint num_events_in_wait_list, const Event **event_wait_list, cl_int *errcode_ret) | |
size_t | offset () const |
Offset in the buffer of the operation, in bytes. | |
size_t | cb () const |
Number of bytes to read or write. | |
void * | ptr () const |
Pointer in host memory at which to put the data. | |
Private Attributes | |
size_t | p_offset |
size_t | p_cb |
void * | p_ptr |
ReadWriteBufferEvent::ReadWriteBufferEvent | ( | CommandQueue * | parent, |
MemObject * | buffer, | ||
size_t | offset, | ||
size_t | cb, | ||
void * | ptr, | ||
cl_uint | num_events_in_wait_list, | ||
const Event ** | event_wait_list, | ||
cl_int * | errcode_ret | ||
) |
Definition at line 131 of file events.cpp.
References Coal::MemObject::size().
size_t ReadWriteBufferEvent::cb | ( | ) | const |
Number of bytes to read or write.
Definition at line 163 of file events.cpp.
References p_cb.
Referenced by worker().
size_t ReadWriteBufferEvent::offset | ( | ) | const |
Offset in the buffer of the operation, in bytes.
Definition at line 158 of file events.cpp.
References p_offset.
Referenced by worker().
void * ReadWriteBufferEvent::ptr | ( | ) | const |
Pointer in host memory at which to put the data.
Definition at line 168 of file events.cpp.
References p_ptr.
Referenced by worker().
size_t Coal::ReadWriteBufferEvent::p_cb [private] |
size_t Coal::ReadWriteBufferEvent::p_offset [private] |
void* Coal::ReadWriteBufferEvent::p_ptr [private] |