The CUDA driver must recompile the GPU libraries
35 views (last 30 days)
Show older comments
Hi everyone, I'm now using MATLAB 2020a, when I tried to train the CNN, I met a warning: The CUDA driver must recompile the GPU librariesbecause your device is more recent than the libraries. Recompiling can take several minutes.
My GPU is RTX 3090, I have checked my CUDA driver and reinstalled the CUDA10.1 driver, I also tried MATLAB 2020b version, but the warning still exist.
Can anyone help me? Thanks a lot!
0 Comments
Accepted Answer
Joss Knight
on 10 Jan 2021
Edited: Joss Knight
on 12 Dec 2023
There isn't really much to say. This 'forward compatibility' is explained in the GPU Computing Requirements documentation. As it says, just allow the NVIDIA driver to compile, and when it's done, that should be it. You may need to increase the CUDA_CACHE_MAXSIZE environment variable, if you find this compilation is happening repeatedly.
The warning will continue to be displayed once per session, even if you experience no compilation. You can just suppress that warning if you don't want to see it.
7 Comments
Joss Knight
on 12 Jan 2021
Sorry, I don't really have any more information for you than I've already given. Ampere is not supported, so wrong answers are not a surprise.
More Answers (0)
See Also
Categories
Find more on GPU Computing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!