-
Notifications
You must be signed in to change notification settings - Fork 98
Description
chmod +x *.sh
nvcc -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=[sm_50,compute_50] -gencode arch=compute_52,code=[sm_52,compute_52] -gencode arch=compute_61,code=[sm_61,compute_61] -Iinclude/ -I3rdparty/stb/include -DOPENCV pkg-config --cflags opencv4 2> /dev/null || pkg-config --cflags opencv
-DGPU -I/usr/local/cuda/include/ --compiler-options "-Wall -Wfatal-errors -Wno-unused-result -Wno-unknown-pragmas -fPIC -Ofast -DOPENCV -DGPU" -c ./src/network_kernels.cu -o obj/network_kernels.o
./src/network_kernels.cu(379): warning: variable "l" was declared but never referenced
./src/network_kernels.cu(709): error: identifier "cudaGraphExec_t" is undefined
./src/network_kernels.cu(712): error: identifier "cudaGraph_t" is undefined
./src/network_kernels.cu(721): error: identifier "cudaStreamCaptureModeGlobal" is undefined
./src/network_kernels.cu(721): error: identifier "cudaStreamBeginCapture" is undefined
./src/network_kernels.cu(729): error: identifier "cudaStreamEndCapture" is undefined
./src/network_kernels.cu(730): error: identifier "cudaGraphInstantiate" is undefined
./src/network_kernels.cu(740): error: identifier "cudaGraphLaunch" is undefined
7 errors detected in the compilation of "/tmp/tmpxft_00004e7f_00000000-13_network_kernels.compute_61.cpp1.ii".
Makefile:185: recipe for target 'obj/network_kernels.o' failed
make: *** [obj/network_kernels.o] Error 2
this error occurs when i try to run make command in darknet