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

Coal::ReadWriteBufferRectEvent Class Reference

Reading or writing to a buffer. More...

#include <events.h>

Inheritance diagram for Coal::ReadWriteBufferRectEvent:
Collaboration diagram for Coal::ReadWriteBufferRectEvent:

List of all members.

Public Member Functions

 ReadWriteBufferRectEvent (CommandQueue *parent, MemObject *buffer, const size_t buffer_origin[3], const size_t host_origin[3], const size_t region[3], size_t buffer_row_pitch, size_t buffer_slice_pitch, size_t host_row_pitch, size_t host_slice_pitch, void *ptr, unsigned int bytes_per_element, cl_uint num_events_in_wait_list, const Event **event_wait_list, cl_int *errcode_ret)
void * ptr () const
 Pointer in host memory in which to put the data.

Private Attributes

void * p_ptr

Detailed Description

Reading or writing to a buffer.

Definition at line 357 of file events.h.


Constructor & Destructor Documentation

ReadWriteBufferRectEvent::ReadWriteBufferRectEvent ( CommandQueue parent,
MemObject buffer,
const size_t  buffer_origin[3],
const size_t  host_origin[3],
const size_t  region[3],
size_t  buffer_row_pitch,
size_t  buffer_slice_pitch,
size_t  host_row_pitch,
size_t  host_slice_pitch,
void *  ptr,
unsigned int  bytes_per_element,
cl_uint  num_events_in_wait_list,
const Event **  event_wait_list,
cl_int *  errcode_ret 
)

Member Function Documentation

void * ReadWriteBufferRectEvent::ptr ( ) const

Pointer in host memory in which to put the data.

Definition at line 1191 of file events.cpp.

References p_ptr.

Referenced by worker().


Member Data Documentation

Definition at line 378 of file events.h.

Referenced by ptr().


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