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

10 次查看(过去 30 天)
>> 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)

回答(1 个)

Sarthak
Sarthak 2023-3-7
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.

类别

Help CenterFile Exchange 中查找有关 Get Started with GPU Coder 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by