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

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
@GeorgeWeb GeorgeWeb force-pushed the georgi/cuda-native-adapter-error-code branch from 5feebf6 to 8347658 Compare November 7, 2024 09:48
@GeorgeWeb GeorgeWeb closed this Nov 7, 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