| 7168 | |
| 7169 | |
| 7170 | inline cl_int flush(void) |
| 7171 | { |
| 7172 | cl_int error; |
| 7173 | CommandQueue queue = CommandQueue::getDefault(&error); |
| 7174 | |
| 7175 | if (error != CL_SUCCESS) { |
| 7176 | return error; |
| 7177 | } |
| 7178 | |
| 7179 | return queue.flush(); |
| 7180 | } |
| 7181 | |
| 7182 | inline cl_int finish(void) |
| 7183 | { |