Clover Git
OpenCL 1.1 software implementation
Public Member Functions | Protected Attributes

Coal::ReadWriteCopyBufferRectEvent Class Reference

Events related to rectangular (or cubic) memory regions. More...

#include <events.h>

Inheritance diagram for Coal::ReadWriteCopyBufferRectEvent:
Collaboration diagram for Coal::ReadWriteCopyBufferRectEvent:

List of all members.

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.
MemObjectsource () 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

Detailed Description

Events related to rectangular (or cubic) memory regions.

This event is the base for all the *BufferRect events, and the Image ones.

Definition at line 294 of file events.h.


Constructor & Destructor Documentation

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 
)

Member Function Documentation

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().


Member Data Documentation


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