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

Fall back to cudaGetErrorString() for Runtime-API-only errors #543

Closed
eyalroz opened this issue Oct 3, 2023 · 0 comments
Closed

Fall back to cudaGetErrorString() for Runtime-API-only errors #543

eyalroz opened this issue Oct 3, 2023 · 0 comments

Comments

@eyalroz
Copy link
Owner

eyalroz commented Oct 3, 2023

Some of our status codes are Runtime-API-only errors. At the moment, however, we fail to obtain error strings for them, since we only try cuGetErrorString(). When that fails, we should fall back to trying cudaGetErrorString().

Thanks goes to @aryan-programmer for pointing out this error.

@eyalroz eyalroz added the bug label Oct 3, 2023
@eyalroz eyalroz self-assigned this Oct 3, 2023
eyalroz added a commit that referenced this issue Oct 3, 2023
…s, which might be the Runtime API's rather than the Driver API's
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant