I'm trying to make a build targeting GTX2070, RTX3070 and RTX3080 for Windows. I have VS2019, CUDA 11.1 and CUDNN 11.2 installed. I'm following the Windows build instructions using vcpkg, and I have ninja installed as well.
On my build PC (with GTX2070), the darknet executable works fine and produces the expected output using darknet_yolo_V3.cmd. On my test PC with RTX3080 (and without VS2019), I am hitting an issue where the same script (darknet_yolo_v3.cmd) complains that several runtime dlls are not found:
GPU=1
CUDNN=1
CUDNN_HALF=1
OPENCV=1
AVX=0
OPENMP=0
LIBSO=0
ZED_CAMERA=0
ZED_CAMERA_v2_8=0
# set GPU=1 and CUDNN=1 to speedup on GPU
# set CUDNN_HALF=1 to further speedup 3 x times (Mixed-precision on Tensor Cores) GPU: Volta, Xavier, Turing and higher
# set AVX=1 and OPENMP=1 to speedup on CPU (if error occurs then set AVX=0)
# set ZED_CAMERA=1 to enable ZED SDK 3.0 and above
# set ZED_CAMERA_v2_8=1 to enable ZED SDK 2.X
USE_CPP=0
DEBUG=0
ARCH= -gencode arch=compute_75,code=[sm_75,compute_75] \
-gencode arch=compute_86,code=[sm_86,compute_86]
I see some comments in this discussion suggesting that the Makefile is the only necessary change, but I see other comments indicating that the Makefile is not the appropriate place (which corresponds with my experience - if my Makefile was being used, the build would be targetting 86).
Where should I make the appropriate changes to set release mode and target compute_86?
It seems that there might be something wrong with the vcpkg build process; I switched to the CMake build process and was able to generate Debug and Release builds using the Visual Studio build option.
I'm trying to make a build targeting GTX2070, RTX3070 and RTX3080 for Windows. I have VS2019, CUDA 11.1 and CUDNN 11.2 installed. I'm following the Windows build instructions using vcpkg, and I have ninja installed as well.
On my build PC (with GTX2070), the darknet executable works fine and produces the expected output using darknet_yolo_V3.cmd. On my test PC with RTX3080 (and without VS2019), I am hitting an issue where the same script (darknet_yolo_v3.cmd) complains that several runtime dlls are not found:
VCOMP140D.DLL MSVCP140D.DLL VCRUNTIME140D.dll VCRUNTIME140_1D.dll
It seems that the build script build.ps1 is executing the build in debug mode:
Also, examining some of the previous build output, it appears to be targeting compute_52 instead of compute_86:
Here is the top of my Makefile:
I see some comments in this discussion suggesting that the Makefile is the only necessary change, but I see other comments indicating that the Makefile is not the appropriate place (which corresponds with my experience - if my Makefile was being used, the build would be targetting 86).
Where should I make the appropriate changes to set release mode and target compute_86?