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

Function enqueueCopyBufferToImage

include/internal/CL/cl.hpp:7143–7167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7141}
7142
7143inline cl_int enqueueCopyBufferToImage(
7144 const Buffer& src,
7145 const Image& dst,
7146 ::size_t src_offset,
7147 const size_t<3>& dst_origin,
7148 const size_t<3>& region,
7149 const VECTOR_CLASS<Event>* events = NULL,
7150 Event* event = NULL)
7151{
7152 cl_int error;
7153 CommandQueue queue = CommandQueue::getDefault(&error);
7154
7155 if (error != CL_SUCCESS) {
7156 return error;
7157 }
7158
7159 return queue.enqueueCopyBufferToImage(
7160 src,
7161 dst,
7162 src_offset,
7163 dst_origin,
7164 region,
7165 events,
7166 event);
7167}
7168
7169
7170inline cl_int flush(void)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected