llvm icon indicating copy to clipboard operation
llvm copied to clipboard

[SYCL] optimize wait() for in-order queue

Open igchor opened this issue 5 months ago • 2 comments
trafficstars

This shortens the critical section for in-order and out-of-order cases and avoids taking the lock entirely is MNoEventMode is set.

igchor avatar May 23 '25 19:05 igchor

Performance results are a bit noisy, but it seems there is some improvement on BMG: https://oneapi-src.github.io/unified-runtime/performance/?runs=Baseline_PVC_L0v2%2CBaseline_BMG_L0v2%2Cv2_wait_opt_pvc%2Cv2_wait_opt_bmg

igchor avatar May 23 '25 21:05 igchor

@sergey-semenov - can you review this?

cperkinsintel avatar Jun 05 '25 18:06 cperkinsintel