Error in TenssorRT in GPU coder

2 Ansichten (letzte 30 Tage)
yahi mahi
yahi mahi am 12 Mai 2021
Kommentiert: yahi mahi am 15 Mai 2021
Hi everybody, I am trying to install GPU coder , when I used cuda 11.3, cudnn 8.2 and TensorRT 7.2.3.
but I have a problem with TensorRT.
Compatible GPU : PASSED
CUDA Environment : PASSED
Runtime : PASSED
cuFFT : PASSED
cuSOLVER : PASSED
cuBLAS : PASSED
cuDNN Environment : PASSED (Warning: Deep learning code generation has been tested with cuDNN v8.1. The provided cuDNN library v8.2 may not be fully compatible.)
TensorRT Environment : FAILED (Unable to find the 'NVIDIA_TENSORRT' environment variable. Set 'NVIDIA_TENSORRT' to point to the root directory of a TensorRT installation.)
Basic Code Generation : FAILED (Test GPU code generation failed with the error 'emlc:compilationError'. View report for further information: View report)
results =
struct with fields:
gpu: 1
cuda: 1
cudnn: 1
tensorrt: 0
basiccodegen: 0
basiccodeexec: 0
deepcodegen: 0
deepcodeexec: 0
tensorrtdatatype: 0
profiling: 0
I put TensorRT folder in this path"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.3"
and define NVIDIA_TENSORRT , path as follow:
NVIDIA_TENSORRT : C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.3\TensorRT\
path : C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.3\TensorRT\lib
how can solve this error?
TensorRT Environment : FAILED (Unable to find the 'NVIDIA_TENSORRT' environment variable. Set 'NVIDIA_TENSORRT' to point to the root directory of a TensorRT installation.)
Basic Code Generation : FAILED (Test GPU code generation failed with the error 'emlc:compilationError'. View report for further information: View report)
  2 Kommentare
yahi mahi
yahi mahi am 13 Mai 2021
when I restart PC, the error of TensorRT Environment was cleaned .but Basic Code Generation error is exist
Compatible GPU : PASSED
CUDA Environment : PASSED
Runtime : PASSED
cuFFT : PASSED
cuSOLVER : PASSED
cuBLAS : PASSED
cuDNN Environment : PASSED (Warning: Deep learning code generation has been tested with cuDNN v8.1. The provided cuDNN library v8.2 may not be fully compatible.)
TensorRT Environment : PASSED
Basic Code Generation : FAILED (Test GPU code generation failed with the error 'emlc:compilationError'. View report for further information: View report)
Deep Learning (TensorRT) Code Generation: FAILED (Deep Learning code generation for target library TensorRT requires GPU Coder Interface for Deep Learning Libraries support package. To install this support package, use the Add-On Explorer.)
results =
struct with fields:
gpu: 1
cuda: 1
cudnn: 1
tensorrt: 1
basiccodegen: 0
basiccodeexec: 0
deepcodegen: 0
deepcodeexec: 0
tensorrtdatatype: 1
profiling: 0
yahi mahi
yahi mahi am 15 Mai 2021
errors is fixed.
for this, I used mex -setup command and selected "mex -setup C++" ,and then "Microsoft Visual C++ 2019 "
Compatible GPU : PASSED
CUDA Environment : PASSED
Runtime : PASSED
cuFFT : PASSED
cuSOLVER : PASSED
cuBLAS : PASSED
cuDNN Environment : PASSED (Warning: Deep learning code generation has been tested with cuDNN v8.1. The provided cuDNN library v8.2 may not be fully compatible.)
TensorRT Environment : PASSED
Basic Code Generation : PASSED
Basic Code Execution : PASSED
Deep Learning (TensorRT) Code Generation: PASSED
Deep Learning (TensorRT) Code Execution: PASSED
results =
struct with fields:
gpu: 1
cuda: 1
cudnn: 1
tensorrt: 1
basiccodegen: 1
basiccodeexec: 1
deepcodegen: 1
deepcodeexec: 1
tensorrtdatatype: 1
profiling: 0

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Performance finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by