pycuda uses unavailable compute capabilities on older versions of CUDA with new hardware
Open
- Dominant language
- Python
- Stars
- 2.1k
- Forks
- 298
- Avg merge
- 4m
- Merged PRs (30d)
- 1
Description
pycuda defaults to asking nvcc to use the maximum compute capability available on the GPU. This fails if the version of CUDA doesn't support the compute capability. For instance, if you're trying to use a GTX 1080 on CUDA 7.5 you get error messages like:
`ExecError: error invoking 'nvcc --preprocess -arch sm_61 -Ifile.cu --compiler-options -P': [Errno 2] No such file or directory`
The solution seems to be to use the highest compute capability available in CUDA that's supported by the card, but I'm not sure the best way to do that.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.