- Make sure that your GPU is CUDA-enabled and compatible with your version of MATLAB. You can check the GPU compatibility information for MATLAB by referring to the documentation.
- Verify that you have installed CUDA and cuSOLVER correctly. Check that the CUDA installation path is added to your system's environment variables. Additionally, you can try reinstalling CUDA to ensure that all required components are installed correctly.
- Check if there are any driver updates available for your GPU. You can check for driver updates from the GPU manufacturer's website or by using a third-party driver updater tool.
- If the issue persists, try running MATLAB with the "-nodisplay" option to disable the GPU and run the function on the CPU. This will help you identify if the issue is with the GPU or the function itself.
Error using gpuArray/norm Failed to initialize GPU cuSOLVER library.
12 vues (au cours des 30 derniers jours)
When I use function stftmag2sig() and then function call norm() internally, the error pops up as "Failed to initialize GPU cuSOLVER library." I intalled the latest CUDA12.1 as well as CUDA10.1. How does this come? And how can I solve this? I check the environment variable as well and CUDAs are on that.
Jack le 25 Mar 2023
The error message "Failed to initialize GPU cuSOLVER library" suggests that MATLAB is unable to access the cuSOLVER library that is required for GPU computation. This could be due to a variety of reasons, such as an incorrect installation of CUDA or a missing driver update for the GPU.
To troubleshoot this issue, you can try the following steps:
Joss Knight le 4 Avr 2023
cuSolver is an NVIDIA library that is included with your MATLAB installation. It makes no difference what versions of the CUDA toolkit you have installed. MATLAB does not use or require any external library installation to use the GPU except for a graphics driver.
As it is, this was a known issue with certain cards and drivers. Glad to hear that upgrading MATLAB or your driver fixed the problem.