From 231042d36134660b302e3e3d7f1bcee15289a2d9 Mon Sep 17 00:00:00 2001 From: Juan Altmayer Pizzorno Date: Tue, 21 Apr 2020 11:49:32 -0400 Subject: [PATCH] - added -fno-unsafe-math-optimizations, as these were introducing significant differences between my d2k implementation and Darknet's; --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 63e15e65..939a2cdf 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ CPP=g++ NVCC=nvcc AR=ar ARFLAGS=rcs -OPTS=-Ofast +OPTS=-Ofast -fno-unsafe-math-optimizations LDFLAGS= -lm -pthread COMMON= -Iinclude/ -Isrc/ CFLAGS=-Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -fPIC