| 7089 | } |
| 7090 | |
| 7091 | inline 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 | |
| 7117 | inline cl_int enqueueCopyImageToBuffer( |
| 7118 | const Image& src, |
nothing calls this directly
no test coverage detected