-
-
Notifications
You must be signed in to change notification settings - Fork 79
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
Use driver API error enum values whenever applicable #306
Labels
Comments
eyalroz
added a commit
that referenced
this issue
Mar 24, 2022
eyalroz
added a commit
that referenced
this issue
Mar 24, 2022
eyalroz
added a commit
that referenced
this issue
Mar 24, 2022
eyalroz
added a commit
that referenced
this issue
Mar 24, 2022
eyalroz
added a commit
that referenced
this issue
Mar 24, 2022
* Now using CUDA driver API error enum values wherever possible. * Added all missing CUDA driver and runtime API error enum values to our own named error enum. * Renamed some named errors for clarity, based on their Doxygen comment in the CUDA headers. * Now (apparently) fully-compatible with CUDA 9.2.
eyalroz
added a commit
that referenced
this issue
Mar 24, 2022
* Now using CUDA driver API error enum values wherever possible. * Added all missing CUDA driver and runtime API error enum values to our own named error enum. * Renamed some named errors for clarity, based on their Doxygen comment in the CUDA headers. * Now (apparently) fully-compatible with CUDA 9.2.
eyalroz
added a commit
that referenced
this issue
Mar 24, 2022
* Now using CUDA driver API error enum values wherever possible. * Added all missing CUDA driver and runtime API error enum values to our own named error enum. * Renamed some named errors for clarity, based on their Doxygen comment in the CUDA headers. * Now (apparently) fully-compatible with CUDA 9.2.
eyalroz
added a commit
that referenced
this issue
Jun 20, 2022
* Now using CUDA driver API error enum values wherever possible. * Added all missing CUDA driver and runtime API error enum values to our own named error enum. * Renamed some named errors for clarity, based on their Doxygen comment in the CUDA headers. * Now (apparently) fully-compatible with CUDA 9.2.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Our named errors use the Runtime API error enum values whenever they exist, since originally we only wrapped the runtime API. This actually doesn't matter as of CUDA 10.2 at least, since NVIDIA aligned the driver and runtime error codes to use the same numbers for the same errors - but for earlier versions of CUDA this was not the case. So, in order to restore compatibilty with them (see #304), and seeing how we now use driver API calls whenever possible, we should use the driver API error enum values as much as possible.
The text was updated successfully, but these errors were encountered: