|
|
@ -11,6 +11,7 @@ ZED_CAMERA=0 |
|
|
|
# set CUDNN_HALF=1 to further speedup 3 x times (Mixed-precision on Tensor Cores) GPU: Volta, Xavier, Turing and higher
|
|
|
|
# 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 AVX=1 and OPENMP=1 to speedup on CPU (if error occurs then set AVX=0)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
USE_CPP=0
|
|
|
|
DEBUG=0
|
|
|
|
DEBUG=0
|
|
|
|
|
|
|
|
|
|
|
|
ARCH= -gencode arch=compute_30,code=sm_30 \
|
|
|
|
ARCH= -gencode arch=compute_30,code=sm_30 \
|
|
|
@ -52,7 +53,12 @@ LIBNAMESO=libdarknet.so |
|
|
|
APPNAMESO=uselib
|
|
|
|
APPNAMESO=uselib
|
|
|
|
endif |
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(USE_CPP), 1) |
|
|
|
|
|
|
|
CC=g++
|
|
|
|
|
|
|
|
else |
|
|
|
CC=gcc
|
|
|
|
CC=gcc
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
CPP=g++
|
|
|
|
CPP=g++
|
|
|
|
NVCC=nvcc
|
|
|
|
NVCC=nvcc
|
|
|
|
OPTS=-Ofast
|
|
|
|
OPTS=-Ofast
|
|
|
|