| 6703 | } |
| 6704 | |
| 6705 | inline cl_int enqueueReadBuffer( |
| 6706 | const Buffer& buffer, |
| 6707 | cl_bool blocking, |
| 6708 | ::size_t offset, |
| 6709 | ::size_t size, |
| 6710 | void* ptr, |
| 6711 | const VECTOR_CLASS<Event>* events = NULL, |
| 6712 | Event* event = NULL) |
| 6713 | { |
| 6714 | cl_int error; |
| 6715 | CommandQueue queue = CommandQueue::getDefault(&error); |
| 6716 | |
| 6717 | if (error != CL_SUCCESS) { |
| 6718 | return error; |
| 6719 | } |
| 6720 | |
| 6721 | return queue.enqueueReadBuffer(buffer, blocking, offset, size, ptr, events, event); |
| 6722 | } |
| 6723 | |
| 6724 | inline cl_int enqueueWriteBuffer( |
| 6725 | const Buffer& buffer, |
nothing calls this directly
no test coverage detected