From 6aa140b3c6e9917936f73bd538fce4fe20954233 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Sun, 15 Apr 2018 13:57:05 +0000
Subject: [PATCH] Disable burn_in for FP16 Tensor Cores

---
 Makefile |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 9db41a8..8428fb6 100644
--- a/Makefile
+++ b/Makefile
@@ -44,10 +44,12 @@
 OPTS=-Ofast
 LDFLAGS= -lm -pthread 
 COMMON= 
-CFLAGS=-Wall -Wfatal-errors -Wno-unused-result -Wno-unknown-pragmas -ffp-contract=fast -mavx
+CFLAGS=-Wall -Wfatal-errors -Wno-unused-result -Wno-unknown-pragmas
 
 ifeq ($(DEBUG), 1) 
-OPTS=-O0 -g
+OPTS= -O0 -g
+else
+CFLAGS+= -ffp-contract=fast -mavx
 endif
 
 CFLAGS+=$(OPTS)

--
Gitblit v1.10.0