llvm
llvm copied to clipboard
[UR][OpenCL] OpenCL runtime on CPU fails when enqueueing commands with events from another context
Describe the bug
The failing scenario is tested in: UrEventWaitTest::WithCorssContextDependencies. The test enqueues commands to a queue created on context A with event lists that consist of events from context B.
The test only fails on OpenCL CPU, everything works with the GPU runtime and other adapters.
This should either be solved for OpenCL CPU or UR spec should be updated to make it clear that this scenario is invalid (SYCL does not seem to rely on this).
To reproduce
Environment
Additional context
No response
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be automatically closed in 30 days.