OpenCL-Docs icon indicating copy to clipboard operation
OpenCL-Docs copied to clipboard

Function clCommandBarrierWithWaitListKHR error code CL_INVALID_CONTEXT

Open kamil-goras-mobica opened this issue 1 year ago • 2 comments

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?

kamil-goras-mobica avatar Apr 08 '24 08:04 kamil-goras-mobica

@EwanC

kamil-goras-mobica avatar Apr 08 '24 08:04 kamil-goras-mobica

Impacts also on tests from https://github.com/KhronosGroup/OpenCL-CTS/pull/1937

kamil-goras-mobica avatar Apr 09 '24 15:04 kamil-goras-mobica