-
Notifications
You must be signed in to change notification settings - Fork 188
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
Add exception type/hierarchy #2044
Comments
What is "the exception story"? |
Exception types/hierarchy or maybe we can just use cuda_error and then there is nothing to do here. I should have added more context in the description, but I guess figuring out what are our option and what we need is the first task of this issue |
For now the approach is to just use That might change later depending on whether we have sensible sub-types for certain categories of errors. One point that is open is how we interface with cases where a user might expect a std::exception. As an example a user might expect |
Marking this as closed for now, we can always file a new issue if/when we need new exception types. |
We should consider the exception story for the C++ Runtime and if we need some more functionality or we can just use the existing cuda_error
The text was updated successfully, but these errors were encountered: