llvm
llvm copied to clipboard
[SYCL] optimize wait() for in-order queue
This shortens the critical section for in-order and out-of-order cases and avoids taking the lock entirely is MNoEventMode is set.