thundersvm icon indicating copy to clipboard operation
thundersvm copied to clipboard

Cuda 12 Support

Open nazgolTavabi opened this issue 2 years ago • 3 comments

Does this code support code 12? I recently updated my cuda and I'm no longer able to run my code.

Thank you

nazgolTavabi avatar Dec 07 '23 18:12 nazgolTavabi

dll_path = r"C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.3\\bin\\thundersvm.dll"
    thundersvm = CDLL(dll_path)

Yes, it works.

ghost avatar Dec 09 '23 22:12 ghost

Me too, my environment is CUDA 12.2, and the thundersvm.dll is correctly builded, while the python told me it cannot find the module and let me try using the full path with constructor syntax. Looking for someone can help me......

JaffelSong avatar Jan 18 '24 07:01 JaffelSong

You need to the following in the python module for CUDA 12 import os os.add_dll_directory("C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\bin")

Boontjie avatar Apr 27 '24 20:04 Boontjie