MISSING nvToolsExt64_1.lib
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Emiliano Rosso
am 31 Okt. 2022
Kommentiert: Emiliano Rosso
am 2 Nov. 2022
gpucoder can't see nvToolsExt64_1.lib even if it exist ad it's declared correctly in the environement variable NVTOOLSEXT_PATH.
I tried to disable the firewall obtaining the same problem.
What to do ?
I get error:
Error using gpucoder.profile (line 41)
Unable to find NVTX library 'nvToolsExt64_1.lib'. Ensure that the NVTX SDK installation contains the
specified library file.
when I type :
cfg = coder.gpuConfig('exe');
cfg.GpuConfig.MallocMode = 'discrete';
gpucoder.profile('myH_MEX',ARGS{1},'CodegenConfig',cfg,...
'CodegenArguments','-d profilingdir','Threshold',0.001);
---
coder.checkGpuInstall
Compatible GPU : PASSED (Warning: Support for GPU devices with Compute Capability 5.2 will be removed in a future MATLAB release. For more information on GPU support, see GPU Support by Release.)
CUDA Environment : PASSED
Runtime : PASSED
cuFFT : PASSED
cuSOLVER : PASSED
cuBLAS : PASSED
cuDNN Environment : PASSED (Warning: Deep learning code generation has been tested with cuDNN v7.6. The provided cuDNN library v8.6 may not be fully compatible.)
Basic Code Generation : PASSED
Basic Code Execution : PASSED
ans =
struct with fields:
gpu: 1
cuda: 1
cudnn: 1
tensorrt: 0
basiccodegen: 1
basiccodeexec: 1
deepcodegen: 0
deepcodeexec: 0
tensorrtdatatype: 0
profiling: 0
---
C:\Windows\system32>nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Wed_Oct_23_19:32:27_Pacific_Daylight_Time_2019
Cuda compilation tools, release 10.2, V10.2.89
8 Kommentare
Justin Hontz
am 2 Nov. 2022
coder.checkGpuInstall by default does not do any profiling checks. To perform these checks, you need to set the Profiling property of the coder.gpuEnvConfig object to true before passing the config to coder.checkGpuInstall.
Since your original question was resolved, can you please create a new question or create a technical support ticket for your follow-up question?
Akzeptierte Antwort
Justin Hontz
am 2 Nov. 2022
The issue was that the NVTOOLSEXT_PATH environment variable was set to the wrong value.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Get Started with GPU Coder 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!