matconvnet cannot fing nvcc but it's shown in matlab

2 views (last 30 days)
Here is the continours output:
>> system('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
ans =
0
>> vl_compilenn()
Error using vl_compilenn>search_cuda_devkit (line 659)
Could not find a valid NVCC executable\n
Error in vl_compilenn (line 270)
if isempty(opts.cudaRoot), opts.cudaRoot = search_cuda_devkit(opts) ; end
>>
How can the problem be resolved?
Thanks.

Answers (0)

Community Treasure Hunt

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

Start Hunting!