llvm
bc8731bc - [SYCL] Protect access to the native handle of a sycl::event (#15179)

Commit
1 year ago
[SYCL] Protect access to the native handle of a sycl::event (#15179) Fix for https://github.com/intel/llvm/issues/14623 Currently event_impl exposes reference to the underlying UR handle. As a result this handle can be updated/read at the random moments of time by different threads causing data race. This PR removes methods which expose the reference and replace them with thread-safe getter/setter.
Author
Committer
Parents
Loading