| 6994 | } |
| 6995 | |
| 6996 | inline 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 | |
| 7031 | inline cl_int enqueueReadImage( |
nothing calls this directly
no test coverage detected