mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
getting rid of sub_arrays, nvidia driver memory leak
This commit is contained in:
4
Makefile
4
Makefile
@ -1,6 +1,6 @@
|
||||
CC=gcc
|
||||
GPU=1
|
||||
COMMON=-Wall -Wfatal-errors `pkg-config --cflags opencv` -I/usr/local/cuda/include/ -I/usr/local/clblas/include/
|
||||
COMMON=-Wall -Wfatal-errors `pkg-config --cflags opencv` -I/usr/local/cuda/include/
|
||||
ifeq ($(GPU), 1)
|
||||
COMMON+=-DGPU
|
||||
else
|
||||
@ -15,7 +15,7 @@ endif
|
||||
else
|
||||
OPTS+= -march=native
|
||||
ifeq ($(GPU), 1)
|
||||
LDFLAGS= -lOpenCL -lclBLAS
|
||||
LDFLAGS= -lOpenCL
|
||||
endif
|
||||
endif
|
||||
CFLAGS= $(COMMON) $(OPTS)
|
||||
|
Reference in New Issue
Block a user