The problem was in this line that should make a script variable available to the rest of the pipeline job:
Code: Select all
echo "##vso[task.setvariable variable=cuda.path]%CUDA_PATH%"
Apparently, in a CMD shell a bug causes a wrong output value, i.e. one double quote character at the end of the value, which then prevents the file copy from working.
Doing it with a bash script solved it.
I have a faint hope that this long debugging is close to an end...
Dade wrote: ↑
Fri Apr 24, 2020 2:10 pm
The requirements on Windows are:
- nvrtc64_Major Release VersionMinor Release Version.dll
- nvrtc-builtins64_Major Release VersionMinor Release Version.dll
@KintuX, as work around, you can install CUDA SDK v10.1.
I was assuming NVRTC (Run Time Compiler) was included in NVIDIA drivers but I guess, it isn't. This could be annoying.
Yes, those are the two files I was trying to retrieve from the Cuda installation, and they are not included in the drivers.
The cuda runtime, instead, is there.
One more thing to note, according to Nvidia docs
Each release of the CUDA Toolkit requires a minimum version of the CUDA driver. The CUDA driver is backward compatible, meaning that applications compiled against a particular version of the CUDA will continue to work on subsequent (later) driver releases.
For version 10.1 the minimum driver version is 418.39 for Linux and 418.96 for Windows. Version 10.2 would need at least drivers 440/441.