Skip to content

[SYCL] Coverity scan fixes for #17380 #18133

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 22, 2025

Conversation

steffenlarsen
Copy link
Contributor

Changes in #17380 introduced some Coverity detected issues. This commit fixes the following issues:

  1. Removes noexcept from get_bin_image_ref as it can now potentially throw through std::variant interfaces.
  2. Adheres to rule-of-three in ManagedDeviceGlobalsRegistry and ManagedDeviceBinaries.

Changes in intel#17380 introduced some Coverity detected issues. This commit
fixes the following issues:
 1. Removes noexcept from get_bin_image_ref as it can now potentially
    throw through std::variant interfaces.
 2. Adheres to rule-of-three in ManagedDeviceGlobalsRegistry and
    ManagedDeviceBinaries.

Signed-off-by: Larsen, Steffen <[email protected]>
@steffenlarsen steffenlarsen merged commit c800fbb into intel:sycl Apr 22, 2025
25 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.

2 participants