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 error codes can be incorrect or missing #30

Open
andrewbenton opened this issue Sep 12, 2017 · 1 comment
Open

Cuda error codes can be incorrect or missing #30

andrewbenton opened this issue Sep 12, 2017 · 1 comment

Comments

@andrewbenton
Copy link
Contributor

When loading a kernel using Program.fromFile(...), error codes can also be produced that are in the enum cudaError_enum that is present in cuda.h, not only from cudaError in driver_types.h. This includes error codes for CUDA_ERROR_FILE_NOT_FOUND and CUDA_ERROR_INVALId_HANDLE. Given that these error ranges overlap, at least in the low numbers, e.g. 0-8, I'm not sure how this can be nicely handled.

@andrewbenton andrewbenton changed the title Kernel loading error codes are incorrect Cuda error codes can be incorrect or missing Sep 12, 2017
@andrewbenton
Copy link
Contributor Author

On further inspection, it seems that only codes 1, 4, 5, 6, 7, and 8 collide and disagree.

@ghost ghost mentioned this issue Dec 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant