forked from intel/llvm
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SYCL] Add more cleanup points close to the shutdown (intel#11119)
Previously we tried to release internal resources only when the last (likely main) thread exits. For multi threaded applications it could be not functional. e.g. threads are closed during module unload and when main thread exits - other threads are still alive. Adding logic to try non blocking release for every thread exit and blocking for the last one. --------- Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova@intel.com>
- Loading branch information
1 parent
ec54804
commit 4156f78
Showing
4 changed files
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters