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

Function enqueueCopyBufferRect

include/internal/CL/cl.hpp:6996–7028  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6994}
6995
6996inline cl_int enqueueCopyBufferRect(
6997 const Buffer& src,
6998 const Buffer& dst,
6999 const size_t<3>& src_origin,
7000 const size_t<3>& dst_origin,
7001 const size_t<3>& region,
7002 ::size_t src_row_pitch,
7003 ::size_t src_slice_pitch,
7004 ::size_t dst_row_pitch,
7005 ::size_t dst_slice_pitch,
7006 const VECTOR_CLASS<Event>* events = NULL,
7007 Event* event = NULL)
7008{
7009 cl_int error;
7010 CommandQueue queue = CommandQueue::getDefault(&error);
7011
7012 if (error != CL_SUCCESS) {
7013 return error;
7014 }
7015
7016 return queue.enqueueCopyBufferRect(
7017 src,
7018 dst,
7019 src_origin,
7020 dst_origin,
7021 region,
7022 src_row_pitch,
7023 src_slice_pitch,
7024 dst_row_pitch,
7025 dst_slice_pitch,
7026 events,
7027 event);
7028}
7029#endif
7030
7031inline cl_int enqueueReadImage(

Callers

nothing calls this directly

Calls 1

enqueueCopyBufferRectMethod · 0.80

Tested by

no test coverage detected