JuliaGPU / ArrayFire.jl

Julia wrapper for the ArrayFire library
Other
204 stars 37 forks source link

New occurence of "could not load library "af"" #277

Open zhopan77 opened 3 years ago

zhopan77 commented 3 years ago

ArrayFire 3.x with ArrayFire.jl and CUDA 10.x have been working well for me on Windows 10, with consumer-grade GPUs such as RTX 2080 Ti.

But recently when I tried to do the same for a Telsa A100 GPU on a Windows 10 PC, I suddenly cannot make ArrayFire work anymore.

I tried the following with ArrayFire.jl 1.0.7 on both Julia 1.5.3 and 1.6.0-rc1, on Windows 10 64-bit.

I do prefer moving to CUDA 11 since A100 is quite new, so I'm posting here only the issue of "could not load library "af"".

ghost commented 3 years ago

I think you need a newer arrayfire library version that works with cuda 11.2 since support for A100 is pretty recent.

zhopan77 commented 3 years ago

I think you need a newer arrayfire library version that works with cuda 11.2 since support for A100 is pretty recent.

Thanks for your reply! ArrayFire version 3.8.0 does claim to support CUDA 11.2 - the Windows download has 3 choices: CUDA 10.1, CUDA 10.2, and CUDA 11.2. I tried all 3 (one by one, with the compatible CUDA Toolkit installation, with clean uninstall in between) - no luck.

I have no way to independently verify ArrayFire 3.8.0 does support A100. But I do know CUDA 11.2 works fine with A100, because CUDA.jl works.