| 7115 | } |
| 7116 | |
| 7117 | inline cl_int enqueueCopyImageToBuffer( |
| 7118 | const Image& src, |
| 7119 | const Buffer& dst, |
| 7120 | const size_t<3>& src_origin, |
| 7121 | const size_t<3>& region, |
| 7122 | ::size_t dst_offset, |
| 7123 | const VECTOR_CLASS<Event>* events = NULL, |
| 7124 | Event* event = NULL) |
| 7125 | { |
| 7126 | cl_int error; |
| 7127 | CommandQueue queue = CommandQueue::getDefault(&error); |
| 7128 | |
| 7129 | if (error != CL_SUCCESS) { |
| 7130 | return error; |
| 7131 | } |
| 7132 | |
| 7133 | return queue.enqueueCopyImageToBuffer( |
| 7134 | src, |
| 7135 | dst, |
| 7136 | src_origin, |
| 7137 | region, |
| 7138 | dst_offset, |
| 7139 | events, |
| 7140 | event); |
| 7141 | } |
| 7142 | |
| 7143 | inline cl_int enqueueCopyBufferToImage( |
| 7144 | const Buffer& src, |
nothing calls this directly
no test coverage detected