Can someone help me solve the following bugs? Ps:I have installed NVIDIA Nsight and MinGW64.

5 views (last 30 days)
>> coder.checkGpuInstall('full')
Compatible GPU : PASSED
CUDA Environment : PASSED
Runtime : PASSED
cuFFT : PASSED
cuSOLVER : PASSED
cuBLAS : PASSED
cuDNN Environment : FAILED (Unable to find the 'NVIDIA_CUDNN' environment variable. Set 'NVIDIA_CUDNN' to point to the root directory of a NVIDIA cuDNN installation.)
TensorRT Environment : FAILED (Unable to find the 'NVIDIA_TENSORRT' environment variable. Set 'NVIDIA_TENSORRT' to point to the root directory of a TensorRT installation.)
Profiling Environment : FAILED (Unable to find the NVIDIA Nsight executable. Ensure the system PATH environment variable contains the location of the Nsight binaries.)
Host Compiler : FAILED (Supported C++ host compiler not found. Install a supported C++ compiler. For supported compilers, see supported compilers)

Answers (1)

Sarthak
Sarthak on 7 Mar 2023
Hi,
The output you provided indicates that some of the GPU-related dependencies were not found on your system.
The cuDNN library, TensorRT, and Nsight are required for deep learning and GPU acceleration in MATLAB.
To resolve the issue, you need to install these dependencies on your system. Here are the steps you can follow:
  1. Install cuDNN
  2. Install TensorRT
  3. Set the system PATH environment variables.
Once you have installed the required dependencies and set the environment variables, run the coder.checkGpuInstall('full') command again to verify that all the dependencies are now installed and working properly.

Categories

Find more on Get Started with GPU Coder in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!