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

Return error message when OpenCL operations fail #8

Open
avramidis opened this issue Jun 6, 2018 · 0 comments
Open

Return error message when OpenCL operations fail #8

avramidis opened this issue Jun 6, 2018 · 0 comments
Assignees

Comments

@avramidis
Copy link
Owner

Is your feature request related to a problem? Please describe.
The problem is that when calling an OpenCL operation there isn't a clear error message that the operation failed.

Describe the solution you'd like
The function that implement the OpenCL operations must return an error message that can be used by the other parts of SODECL. Moreover, it have to give proper information to the user about what went wrong. It would be best each function that implement OpenCL operations to throw a custom exception for the specific OpenCL error.

Describe alternatives you've considered
The ways that an error can be returned from functions is by exceptions, return value or change of value of an argument.

@avramidis avramidis self-assigned this Nov 2, 2019
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