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

Function enqueueCopyImage

include/internal/CL/cl.hpp:7091–7115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7089}
7090
7091inline cl_int enqueueCopyImage(
7092 const Image& src,
7093 const Image& dst,
7094 const size_t<3>& src_origin,
7095 const size_t<3>& dst_origin,
7096 const size_t<3>& region,
7097 const VECTOR_CLASS<Event>* events = NULL,
7098 Event* event = NULL)
7099{
7100 cl_int error;
7101 CommandQueue queue = CommandQueue::getDefault(&error);
7102
7103 if (error != CL_SUCCESS) {
7104 return error;
7105 }
7106
7107 return queue.enqueueCopyImage(
7108 src,
7109 dst,
7110 src_origin,
7111 dst_origin,
7112 region,
7113 events,
7114 event);
7115}
7116
7117inline cl_int enqueueCopyImageToBuffer(
7118 const Image& src,

Callers

nothing calls this directly

Calls 1

enqueueCopyImageMethod · 0.80

Tested by

no test coverage detected