Error in TenssorRT in GPU coder
Show older comments
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)
Answers (0)
Categories
Find more on Get Started with GPU Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!