NVIDIA / numba-cuda

BSD 2-Clause "Simplified" License
36 stars 8 forks source link

[BUG] Advice for installing CUDA toolkit in error message is wrong #69

Open gmarkall opened 2 days ago

gmarkall commented 2 days ago

Describe the bug When the CUDA toolkit cannot be found, numba-cuda reports:

NvvmSupportError: libNVVM cannot be found. Do `conda install cudatoolkit`:
Could not find module 'nvvm.dll' (or one of its dependencies). Try using the full path with constructor syntax.

Steps/Code to reproduce bug

Attempt to compile a CUDA kernel when the CUDA toolkit is not installed.

Expected behavior

Instead of recommending cudatoolkit, it should recommend installation of packages as described in the current documentation:

https://nvidia.github.io/numba-cuda/user/overview.html#software