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

Function enqueueWriteBufferRect

include/internal/CL/cl.hpp:6960–6994  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6958}
6959
6960inline cl_int enqueueWriteBufferRect(
6961 const Buffer& buffer,
6962 cl_bool blocking,
6963 const size_t<3>& buffer_offset,
6964 const size_t<3>& host_offset,
6965 const size_t<3>& region,
6966 ::size_t buffer_row_pitch,
6967 ::size_t buffer_slice_pitch,
6968 ::size_t host_row_pitch,
6969 ::size_t host_slice_pitch,
6970 void *ptr,
6971 const VECTOR_CLASS<Event>* events = NULL,
6972 Event* event = NULL)
6973{
6974 cl_int error;
6975 CommandQueue queue = CommandQueue::getDefault(&error);
6976
6977 if (error != CL_SUCCESS) {
6978 return error;
6979 }
6980
6981 return queue.enqueueWriteBufferRect(
6982 buffer,
6983 blocking,
6984 buffer_offset,
6985 host_offset,
6986 region,
6987 buffer_row_pitch,
6988 buffer_slice_pitch,
6989 host_row_pitch,
6990 host_slice_pitch,
6991 ptr,
6992 events,
6993 event);
6994}
6995
6996inline cl_int enqueueCopyBufferRect(
6997 const Buffer& src,

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected