You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
andrewbenton
changed the title
Kernel loading error codes are incorrect
Cuda error codes can be incorrect or missing
Sep 12, 2017
When loading a kernel using
Program.fromFile(...)
, error codes can also be produced that are in the enumcudaError_enum
that is present incuda.h
, not only from cudaError indriver_types.h
. This includes error codes forCUDA_ERROR_FILE_NOT_FOUND
andCUDA_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.The text was updated successfully, but these errors were encountered: