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] Win: do not cleanup scheduler resources due to unpredictable s… (#7801)
Windows specific.
Do not try to release any resources during program exit. It may cause
unpredictable results.
The main root cause is threads. Per my observations and according to
windows ExitProcess docs threads are killed before libraries unload. So
at the time when we call shutdown - thread pool threads and any other
user threads will already be killed. What it means to us: we could not
know exactly the state of jobs and objects they was working with. For
example graph mutex could be locked by thread executing by host task, or
container state could be undefined if killed thread was working with it,
or additional user thread could call sycl API and some resources of sycl
dependencies could be also affected.
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
0 commit comments