numba/numba

CUDA doesn't warn the error if their launch configuration exceeds the capability of their device

Open

#1,055 建立於 2015年3月26日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Python (9,177 star) (1,132 fork)batch import
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

貢獻者指南