MCPcopy Create free account
hub / github.com/OpenKinect/libfreenect2 / enqueueWriteImage

Function enqueueWriteImage

include/internal/CL/cl.hpp:7061–7089  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7059}
7060
7061inline cl_int enqueueWriteImage(
7062 const Image& image,
7063 cl_bool blocking,
7064 const size_t<3>& origin,
7065 const size_t<3>& region,
7066 ::size_t row_pitch,
7067 ::size_t slice_pitch,
7068 void* ptr,
7069 const VECTOR_CLASS<Event>* events = NULL,
7070 Event* event = NULL)
7071{
7072 cl_int error;
7073 CommandQueue queue = CommandQueue::getDefault(&error);
7074
7075 if (error != CL_SUCCESS) {
7076 return error;
7077 }
7078
7079 return queue.enqueueWriteImage(
7080 image,
7081 blocking,
7082 origin,
7083 region,
7084 row_pitch,
7085 slice_pitch,
7086 ptr,
7087 events,
7088 event);
7089}
7090
7091inline cl_int enqueueCopyImage(
7092 const Image& src,

Callers

nothing calls this directly

Calls 1

enqueueWriteImageMethod · 0.80

Tested by

no test coverage detected