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

Coal::CopyImageToBufferEvent Class Reference

Copying an image to a buffer. More...

#include <events.h>

Inheritance diagram for Coal::CopyImageToBufferEvent:
Collaboration diagram for Coal::CopyImageToBufferEvent:

List of all members.

Public Member Functions

 CopyImageToBufferEvent (CommandQueue *parent, Image2D *source, MemObject *destination, const size_t src_origin[3], const size_t region[3], size_t dst_offset, cl_uint num_events_in_wait_list, const Event **event_wait_list, cl_int *errcode_ret)
size_t offset () const
 Offset in the buffer at which writing the image.
Type type () const
 Say the event is a Coal::Event::CopyImageToBuffer one.

Private Attributes

size_t p_offset

Detailed Description

Copying an image to a buffer.

Definition at line 511 of file events.h.


Constructor & Destructor Documentation

CopyImageToBufferEvent::CopyImageToBufferEvent ( CommandQueue parent,
Image2D source,
MemObject destination,
const size_t  src_origin[3],
const size_t  region[3],
size_t  dst_offset,
cl_uint  num_events_in_wait_list,
const Event **  event_wait_list,
cl_int *  errcode_ret 
)

Member Function Documentation

size_t CopyImageToBufferEvent::offset ( ) const

Offset in the buffer at which writing the image.

Definition at line 1395 of file events.cpp.

References p_offset.

Referenced by worker().

Event::Type CopyImageToBufferEvent::type ( ) const [virtual]

Say the event is a Coal::Event::CopyImageToBuffer one.

Reimplemented from Coal::CopyBufferRectEvent.

Definition at line 1400 of file events.cpp.

References Coal::Event::CopyImageToBuffer.


Member Data Documentation

Definition at line 528 of file events.h.

Referenced by offset().


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