OpenCL-Docs
OpenCL-Docs copied to clipboard
Function clCommandBarrierWithWaitListKHR error code CL_INVALID_CONTEXT
Documentation says: CL_INVALID_CONTEXT if the context associated with command_queue and command_buffer is not the same. This does not make sense because queue must be NULL, the only way to pass queue is while creating command buffer which allows only 1 queue. So how could be assigned different context to any of them?
@EwanC
Impacts also on tests from https://github.com/KhronosGroup/OpenCL-CTS/pull/1937