You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SYCL] Avoid illegal order in compare_exchange_* (#19723)
The atomic_ref compare_exchange_* functions, which take only one memory
order argument, call the respective compare_exchange_* functions, which
take two memory order arguments, and use the same order for both the
success and failure memory orders. This might result in UB where the
'acquire' or 'release' failure order is used. This commit ensures that
an illegal failure order is never passed.
0 commit comments