cuDNN Environment for gpu coder failed

I want to use gpu coder on MATLAB, so I tried to install CUDA, cuDNN on my computer following the document on NVIDIA developer.
However, when I checked the install state, cuDNN Environment is failed.
I copied all filed on zip folder to the correct locaitons. I want to know why cuDNN Environment is failed.
My version of MATLAB, CUDA, cuDNN is 2019b, v10.0 and v7.6.4.38 and the command window is stated below.
캡처.PNG

11 件のコメント

Walter Roberson
Walter Roberson 2019 年 10 月 27 日
You need to set the NVIDIA_CUDNN environment variable to the directory that the software is installed in, and you need to set the NVIDIA_TENSORRT environment variable to the directory that TensorRT is installed in.
lim daehee
lim daehee 2019 年 10 月 27 日
編集済み: lim daehee 2019 年 10 月 27 日
Hi Walter, thank you for your reply.
I want to see my settings of cudnn and tensorrt, however, I don't know the way to set the NVIDIA_CUDNN or NVIDIA_TENSORRT environment variable.. how can I see and set them??
Walter Roberson
Walter Roberson 2019 年 10 月 27 日
Which operating system?
lim daehee
lim daehee 2019 年 10 月 28 日
I use Window 10
Rui Lang
Rui Lang 2019 年 12 月 16 日
Hello, it's not correct that I only have "cuDNN Environment : FAILED”? Can you make it clear what the directory of the installation software specifically refers to
Zhenpeng
Zhenpeng 2020 年 3 月 7 日
I have the same question. When I set the enviroment variable correctly, Matlab just can't identify it. Waitting for anyone can help me...
Jaya Shankar
Jaya Shankar 2020 年 3 月 15 日
Hi Zhenpeng,
You can confirm if the environment variables for CUDNN and TENSORRT are set correctly by running the following commands in MATLAB session
>> getenv('NVIDIA_CUDNN')
>> getenv('NVIDIA_TENSORRT')
If the above commands return empty , or do not point to the correct path, make sure to set them variables through your Windows's environment variable settings found via Control Panel ->System and Security->System->Advanced System settings.
Note that the path should be the root folder of cuDNN/TensorRT installation where the root folder contains the bin, include, and lib subfolders. For example: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\cuDNN\
This is documented here
abdul kaleem siddiqi
abdul kaleem siddiqi 2020 年 4 月 29 日
i follow the same steps again cuDNN and TensorRT is failed
abdul kaleem siddiqi
abdul kaleem siddiqi 2020 年 4 月 29 日
is this is the right way for enviroment variable??

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeGet Started with GPU Coder についてさらに検索

質問済み:

2019 年 10 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by