| 7141 | } |
| 7142 | |
| 7143 | inline 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 | |
| 7170 | inline cl_int flush(void) |
nothing calls this directly
no test coverage detected