numba/numba
在 GitHub 查看CUDA doesn't warn the error if their launch configuration exceeds the capability of their device
Open
#1,055 建立於 2015年3月26日
CUDATaskgood first issue
描述
The launch configuration is not checked and the CUDA target proceeds with attempting to call cuLaunchKernel. This results in the user being presented with the generic error:
numba.cuda.cudadrv.driver.CudaAPIError: Call to cuLaunchKernel results in CUDA_ERROR_INVALID_VALUE
It would be a bit more user- and beginner-friendly to check the launch configuration and point out the limits if they are exceeded.
E.g. mailing list thread: https://groups.google.com/a/continuum.io/forum/?utm_medium=email&utm_source=footer#!msg/numba-users/TkW3Bdjq_Yw/Qv5xq3e6r_sJ