forked from intel/llvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SYCL] ProgramManager: Remove invalidated entries in NativePrograms b…
…efore insert (intel#15973) Fixes intel#14972 This commit erases existing entries with ur handle that is just created/returned by backend. All existing entries in NativePrograms are known to be invalid in this case. Could not erase them on UrProgramRelease call since we have no tracking of program handle references on SYCL RT level and it is not feasible to add it. Obtaining ref count from ur is not thread safe and not a feature to base product on. --------- Signed-off-by: Tikhomirova, Kseniya <[email protected]> Co-authored-by: Sergey Semenov <[email protected]>
- Loading branch information
1 parent
48bcaf0
commit e65de89
Showing
3 changed files
with
83 additions
and
17 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