CUDA not working on Mathematica 12.2

Hello all :slight_smile:
CUDA is not working on 12.2.
Look at this:
What I am supposed to do?
I also tried by downloading the CUDA packlets: change nothing.
I have an NVIDIA RTX 3090 and the drivers are ok.
Thank you foe helping me.
Regards to all,

Jean-Michel

Sans titre-1.nb (4.47 KB)

Yes, I can confirm that (Win10 + Quadro P1000 + Mathematica 12.2). CUDAlink and all subsequent CUDA functionalities looks like totally broken… :frowning:

Hello Michal,
I will send a mail to Support.
Regards,
Jean-Michel

Please keep us informed here for any solutions…

Starting in V12.2 the CUDA Toolkit binaries are not supplied by Wolfram Research, but should be installed separately by the user. Do you have the CUDA Toolkit from NVIDIA installed?

It can be found here: CUDA Toolkit - Free Tools and Training | NVIDIA Developer

Yes, I have installed CUDA toolkit 10.2.

Where can I find actual compatibility matrix?

What a pity I have THE RTX 3090 with more than 10000 cuda cores.
I will install cuda toolkit 11.* I will let you know here.
Regards

The latest version of NVIDIA Toolkit is 11.2
I try to install but there a incompability with another software on my comp’.
I try…I will let you know.
Jean-Michel

Which versions of NVIDIA CUDA Toolkit is compatible with Mma 12.2???

CUDA Toolkit 11.x should work (but 10.x will not).

CUDA worls perfectly with Mathematica 2.2 AND CUDA Toolkit 11.2 . this is sure I just installed it and
tested. I repeat Toolkit 11.2 . You can find it on nvidia web.
Excellent :slight_smile:
Greetings to all members.

“As of Version 12.2, CUDA on macOS is no longer supported.”

Seriously?! Is there any workaround to run NetTrain[] on macOS + NVIDIA GPU + MMA 12.2?

No NVIDIA CUDA support on Macs from now, including external NVIDIA GPUs.
Happy computing …

Unfortunately not. The dispute between Apple and Nvidia means there haven’t been updated drivers or CUDA Toolkit on mac for many years so it no longer made sense for us to try to support it.

Hello,
I cannot manage to have CUDA working on 12.2
Either on Linux or Windows I successfully installed CUDA 11.2.0 on both OSes (nvcc available, compiling CUDA examples OK, environment variables OK, etc.)
On Windows: not working, keeps saying that on CUDAResources are not available, trying to install CUDAResources-Win64-12.1.0 manually does not work…
On Linux: it seems to work but downgraded to 9.0.0.0 ?! Mathematica keeps downloading over and over CUDAResources-Lin64-9.0.0.0 paclet ! (files in this kit are dated 2012…!)
Trying to install CUDAResources-Lin64-12.1.0 manually does not work…
So, where is the problem ? Should I need a “CUDAResources-Win64/Lin64-12.2.0. paclet” ? But where it is ? (Only 12.1.0 is at available for download at CUDA Resources)
What is the exact procedure to have CUDA working in 12.2 Linux & Windows ?
Jean-Michel, how did you manage to make it working ? Detailed procedure ?
Thank you for your help, Jean

Hello,
I just downloaded the package from NVDIA resources (11.2) toolkit , clicked on the installer and all ran
well.
I am not a magician but it worked.
Best.

I am getting the exact same issue.

Hi Jean-Michel,
Well, strange… I guess you are with Windows.
So, your CUDAResourcesInformation[] must return something valid, pointing to the correct CUDA lib version ? (11.2). Could you share ?
Thanks, J.

I’m also having the same issue, installed toolkit 11.2 and still CUDAResourcesInformation[] doesn’t recognise anything. Please provide detailed information.

CUDAResourcesInformation[], as well as the CUDAResources paclet itself, is no longer needed in Mathematica 12.2.0. We apologize for the documentation not having been updated to reflect this change.

What does CUDAQ[] return? Are you on Windows or Linux?