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

Coal::CopyBufferToImageEvent Class Reference

Copying a buffer to an image. More...

#include <events.h>

Inheritance diagram for Coal::CopyBufferToImageEvent:
Collaboration diagram for Coal::CopyBufferToImageEvent:

List of all members.

Public Member Functions

 CopyBufferToImageEvent (CommandQueue *parent, MemObject *source, Image2D *destination, size_t src_offset, const size_t dst_origin[3], const size_t region[3], 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 the copy starts.
Type type () const
 Say the event is a Coal::Event::CopyBufferToImage one.

Private Attributes

size_t p_offset

Detailed Description

Copying a buffer to an image.

Definition at line 534 of file events.h.


Constructor & Destructor Documentation

CopyBufferToImageEvent::CopyBufferToImageEvent ( CommandQueue parent,
MemObject source,
Image2D destination,
size_t  src_offset,
const size_t  dst_origin[3],
const size_t  region[3],
cl_uint  num_events_in_wait_list,
const Event **  event_wait_list,
cl_int *  errcode_ret 
)

Member Function Documentation

size_t CopyBufferToImageEvent::offset ( ) const

Offset in the buffer at which the copy starts.

Definition at line 1440 of file events.cpp.

References p_offset.

Referenced by worker().

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

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

Reimplemented from Coal::CopyBufferRectEvent.

Definition at line 1445 of file events.cpp.

References Coal::Event::CopyBufferToImage.


Member Data Documentation

Definition at line 551 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