| 220 | } |
| 221 | |
| 222 | cl_command_queue opencl_buffer::queue_or_default_queue(const device_queue* cqueue) const { |
| 223 | if(cqueue != nullptr) return (cl_command_queue)const_cast<void*>(cqueue->get_queue_ptr()); |
| 224 | return (cl_command_queue)const_cast<void*>(((const opencl_context&)*dev.context).get_device_default_queue((const opencl_device&)dev)->get_queue_ptr()); |
| 225 | } |
| 226 | |
| 227 | } // namespace fl |
| 228 |
nothing calls this directly
no test coverage detected