Skip to content
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

[Cuda] Save the Cuda native error code on adapter-specific errors #2092

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

GeorgeWeb
Copy link
Contributor

@GeorgeWeb GeorgeWeb commented Sep 13, 2024

This ErrorAdapterNativeCode can be used to propage the native error code values up the stack from unified-runtime when calling urAdapterGetLastError, if needed. This can be helpful in DPC++ sycl runtime exception handling, similarly to how the already handily setup setAdapterSpecificMessage also preserves the native error code by appending it to an error message buffer.

@github-actions github-actions bot added the cuda CUDA adapter specific issues label Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cuda CUDA adapter specific issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant