- added -fno-unsafe-math-optimizations, as these were introducing

significant differences between my d2k implementation and Darknet's;
This commit is contained in:
Juan Altmayer Pizzorno 2020-04-21 11:49:32 -04:00
parent 66bc34d506
commit 231042d361

View File

@ -24,7 +24,7 @@ CPP=g++
NVCC=nvcc NVCC=nvcc
AR=ar AR=ar
ARFLAGS=rcs ARFLAGS=rcs
OPTS=-Ofast OPTS=-Ofast -fno-unsafe-math-optimizations
LDFLAGS= -lm -pthread LDFLAGS= -lm -pthread
COMMON= -Iinclude/ -Isrc/ COMMON= -Iinclude/ -Isrc/
CFLAGS=-Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -fPIC CFLAGS=-Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -fPIC