Clover Git
OpenCL 1.1 software implementation
|
Copying between two buffers. More...
#include <events.h>
Public Member Functions | |
CopyBufferRectEvent (CommandQueue *parent, MemObject *source, MemObject *destination, const size_t src_origin[3], const size_t dst_origin[3], const size_t region[3], size_t src_row_pitch, size_t src_slice_pitch, size_t dst_row_pitch, size_t dst_slice_pitch, unsigned int bytes_per_element, cl_uint num_events_in_wait_list, const Event **event_wait_list, cl_int *errcode_ret) | |
virtual Type | type () const |
Say the event is a Coal::Event::CopyBufferRect one. | |
MemObject * | destination () const |
Destination buffer. | |
Private Attributes | |
MemObject * | p_destination |
CopyBufferRectEvent::CopyBufferRectEvent | ( | CommandQueue * | parent, |
MemObject * | source, | ||
MemObject * | destination, | ||
const size_t | src_origin[3], | ||
const size_t | dst_origin[3], | ||
const size_t | region[3], | ||
size_t | src_row_pitch, | ||
size_t | src_slice_pitch, | ||
size_t | dst_row_pitch, | ||
size_t | dst_slice_pitch, | ||
unsigned int | bytes_per_element, | ||
cl_uint | num_events_in_wait_list, | ||
const Event ** | event_wait_list, | ||
cl_int * | errcode_ret | ||
) |
Definition at line 1056 of file events.cpp.
References Coal::MemObject::allocate(), Coal::CommandQueue::info(), Coal::BufferEvent::isSubBufferAligned(), Coal::ReadWriteCopyBufferRectEvent::p_dst_origin, Coal::ReadWriteCopyBufferRectEvent::p_dst_row_pitch, Coal::ReadWriteCopyBufferRectEvent::p_dst_slice_pitch, Coal::ReadWriteCopyBufferRectEvent::p_region, Coal::ReadWriteCopyBufferRectEvent::p_src_origin, Coal::ReadWriteCopyBufferRectEvent::p_src_row_pitch, Coal::ReadWriteCopyBufferRectEvent::p_src_slice_pitch, and Coal::MemObject::size().
MemObject * CopyBufferRectEvent::destination | ( | ) | const |
Destination buffer.
Definition at line 1148 of file events.cpp.
References p_destination.
Referenced by worker().
Event::Type CopyBufferRectEvent::type | ( | ) | const [virtual] |
Say the event is a Coal::Event::CopyBufferRect
one.
Implements Coal::Event.
Reimplemented in Coal::CopyImageEvent, Coal::CopyImageToBufferEvent, and Coal::CopyBufferToImageEvent.
Definition at line 1143 of file events.cpp.
References Coal::Event::CopyBufferRect.
Definition at line 351 of file events.h.
Referenced by destination().