Skip to content

Fix skcuda and pycuda

toncho11 edited this page Nov 13, 2024 · 2 revisions

Changes that need to be made use pycuda, skcuda with CUDA 11.5:

  • you need to set the path:

set PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.5\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.5\extras\CUPTI\lib64;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.5\include;%PATH%;

  • you need to add 110 in skcuda:

_win32_version_list = [110, 101, 100, 92, 91, 90, 80, 75, 70, 65, 60, 55, 50, 40]

in file:cudart.py

  • you need to add 11 in skcuda:

_win32_version_list = [11, 10, 100, 92, 91, 90, 80, 75, 70, 65, 60, 55, 50, 40]

in cublas.py

  • set np.sctypeDict[t] on line 637 in misc.py in skcuda

  • set return np.float32(' on line 241 in misc.py in skcuda