Clover Git
OpenCL 1.1 software implementation
|
Events related to rectangular (or cubic) memory regions. More...
#include <events.h>
Public Member Functions | |
ReadWriteCopyBufferRectEvent (CommandQueue *parent, MemObject *source, 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) | |
size_t | src_origin (unsigned int index) const |
Source origin for the index dimension. | |
size_t | dst_origin (unsigned int index) const |
Destination origin for the index dimension. | |
size_t | region (unsigned int index) const |
Region to copy for the index dimension. | |
size_t | src_row_pitch () const |
Source row pitch. | |
size_t | src_slice_pitch () const |
Source slice pitch. | |
size_t | dst_row_pitch () const |
Destination row pitch. | |
size_t | dst_slice_pitch () const |
Destination slice pitch. | |
MemObject * | source () const |
Source of the copy, for readability. Calls Coal::BufferEvent::buffer() . | |
Protected Attributes | |
size_t | p_src_origin [3] |
size_t | p_dst_origin [3] |
size_t | p_region [3] |
size_t | p_src_row_pitch |
size_t | p_src_slice_pitch |
size_t | p_dst_row_pitch |
size_t | p_dst_slice_pitch |
Events related to rectangular (or cubic) memory regions.
This event is the base for all the *BufferRect events, and the Image ones.
ReadWriteCopyBufferRectEvent::ReadWriteCopyBufferRectEvent | ( | CommandQueue * | parent, |
MemObject * | source, | ||
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 917 of file events.cpp.
References dst_row_pitch(), dst_slice_pitch(), p_dst_origin, p_dst_row_pitch, p_dst_slice_pitch, p_region, p_src_origin, p_src_row_pitch, p_src_slice_pitch, src_row_pitch(), and src_slice_pitch().
size_t ReadWriteCopyBufferRectEvent::dst_origin | ( | unsigned int | index | ) | const |
Destination origin for the index
dimension.
Definition at line 1021 of file events.cpp.
References p_dst_origin.
Referenced by worker().
size_t ReadWriteCopyBufferRectEvent::dst_row_pitch | ( | ) | const |
Destination row pitch.
Definition at line 1041 of file events.cpp.
References p_dst_row_pitch.
Referenced by ReadWriteCopyBufferRectEvent(), and worker().
size_t ReadWriteCopyBufferRectEvent::dst_slice_pitch | ( | ) | const |
Destination slice pitch.
Definition at line 1046 of file events.cpp.
References p_dst_slice_pitch.
Referenced by ReadWriteCopyBufferRectEvent(), and worker().
size_t ReadWriteCopyBufferRectEvent::region | ( | unsigned int | index | ) | const |
Region to copy for the index
dimension.
Definition at line 1026 of file events.cpp.
References p_region.
Referenced by worker().
MemObject * ReadWriteCopyBufferRectEvent::source | ( | ) | const |
Source of the copy, for readability. Calls Coal::BufferEvent::buffer()
.
Definition at line 1051 of file events.cpp.
References Coal::BufferEvent::buffer().
Referenced by worker().
size_t ReadWriteCopyBufferRectEvent::src_origin | ( | unsigned int | index | ) | const |
Source origin for the index
dimension.
Definition at line 1016 of file events.cpp.
References p_src_origin.
Referenced by worker().
size_t ReadWriteCopyBufferRectEvent::src_row_pitch | ( | ) | const |
Source row pitch.
Definition at line 1031 of file events.cpp.
References p_src_row_pitch.
Referenced by ReadWriteCopyBufferRectEvent(), and worker().
size_t ReadWriteCopyBufferRectEvent::src_slice_pitch | ( | ) | const |
Source slice pitch.
Definition at line 1036 of file events.cpp.
References p_src_slice_pitch.
Referenced by ReadWriteCopyBufferRectEvent(), and worker().
size_t Coal::ReadWriteCopyBufferRectEvent::p_dst_origin[3] [protected] |
Definition at line 321 of file events.h.
Referenced by Coal::CopyBufferRectEvent::CopyBufferRectEvent(), dst_origin(), and ReadWriteCopyBufferRectEvent().
size_t Coal::ReadWriteCopyBufferRectEvent::p_dst_row_pitch [protected] |
Definition at line 323 of file events.h.
Referenced by Coal::CopyBufferRectEvent::CopyBufferRectEvent(), dst_row_pitch(), and ReadWriteCopyBufferRectEvent().
size_t Coal::ReadWriteCopyBufferRectEvent::p_dst_slice_pitch [protected] |
Definition at line 323 of file events.h.
Referenced by Coal::CopyBufferRectEvent::CopyBufferRectEvent(), dst_slice_pitch(), and ReadWriteCopyBufferRectEvent().
size_t Coal::ReadWriteCopyBufferRectEvent::p_region[3] [protected] |
Definition at line 321 of file events.h.
Referenced by Coal::CopyBufferRectEvent::CopyBufferRectEvent(), Coal::ReadWriteBufferRectEvent::ReadWriteBufferRectEvent(), ReadWriteCopyBufferRectEvent(), and region().
size_t Coal::ReadWriteCopyBufferRectEvent::p_src_origin[3] [protected] |
Definition at line 321 of file events.h.
Referenced by Coal::CopyBufferRectEvent::CopyBufferRectEvent(), Coal::ReadWriteBufferRectEvent::ReadWriteBufferRectEvent(), ReadWriteCopyBufferRectEvent(), and src_origin().
size_t Coal::ReadWriteCopyBufferRectEvent::p_src_row_pitch [protected] |
Definition at line 322 of file events.h.
Referenced by Coal::CopyBufferRectEvent::CopyBufferRectEvent(), Coal::ReadWriteBufferRectEvent::ReadWriteBufferRectEvent(), ReadWriteCopyBufferRectEvent(), and src_row_pitch().
size_t Coal::ReadWriteCopyBufferRectEvent::p_src_slice_pitch [protected] |
Definition at line 322 of file events.h.
Referenced by Coal::CopyBufferRectEvent::CopyBufferRectEvent(), Coal::ReadWriteBufferRectEvent::ReadWriteBufferRectEvent(), ReadWriteCopyBufferRectEvent(), and src_slice_pitch().