MISSING nvToolsExt64_1.lib

15 次查看(过去 30 天)
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 个评论
Justin Hontz
Justin Hontz 2022-11-2
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?

请先登录,再进行评论。

采纳的回答

Justin Hontz
Justin Hontz 2022-11-2
The issue was that the NVTOOLSEXT_PATH environment variable was set to the wrong value.

更多回答(0 个)

类别

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

标签

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by