![]() |
Clover Git
OpenCL 1.1 software implementation
|
Copying a buffer to an image. More...
#include <events.h>
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 |
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 | ||
) |
Definition at line 1405 of file events.cpp.
References Coal::MemObject::Image2D, Coal::Image2D::pixel_size(), Coal::MemObject::size(), and Coal::Image2D::type().
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.
size_t Coal::CopyBufferToImageEvent::p_offset [private] |