Skip to content

Conversation

@KseniyaTikhomirova
Copy link
Contributor

Fixes #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 <kseniya.tikhomirova@intel.com>
Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova@intel.com>
Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova@intel.com>
Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova@intel.com>
Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova@intel.com>
@KseniyaTikhomirova KseniyaTikhomirova marked this pull request as ready for review December 5, 2024 14:59
@KseniyaTikhomirova KseniyaTikhomirova requested a review from a team as a code owner December 5, 2024 14:59
Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova@intel.com>
Copy link
Contributor

@sergey-semenov sergey-semenov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just a tiny nitpick.

Co-authored-by: Sergey Semenov <sergey.semenov@intel.com>
@KseniyaTikhomirova
Copy link
Contributor Author

@intel/llvm-gatekeepers hi, this PR is ready to be merged

@martygrant martygrant merged commit e65de89 into intel:sycl Jan 8, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Invalidated entries in NativePrograms multimap

3 participants