Skip to content

[UR][CUDA][HIP] Add missing catch for native commands #17524

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
Mar 19, 2025

Conversation

npmiller
Copy link
Contributor

This UR entry point calls a user function pointer, which may throw exceptions so we need an exception catchall there to ensure they don't cross the UR C API boundary.

It's unclear if exceptions should even be allowed in these user functions, but this is still a worthwhile precaution.

This UR entry point calls a user function pointer, which may throw
exceptions so we need an exception catchall there to ensure they don't
cross the UR C API boundary.

It's unclear if exceptions should even be allowed in these user
functions, but this is still a worthwhile precaution.
@npmiller npmiller requested a review from a team as a code owner March 19, 2025 09:42
@npmiller npmiller requested a review from frasercrmck March 19, 2025 09:42
@npmiller
Copy link
Contributor Author

@intel/llvm-gatekeepers this is ready to merge

@martygrant martygrant merged commit c5c0be5 into intel:sycl Mar 19, 2025
31 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.

3 participants