From c52fa4742866125e35e88d0653dac99473e5fffb Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Mon, 16 Apr 2018 10:09:10 +0000
Subject: [PATCH] Loss-graph store automatically (iterations == max_batches) at the end of training

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

diff --git a/Makefile b/Makefile
index 986759f..8428fb6 100644
--- a/Makefile
+++ b/Makefile
@@ -44,10 +44,12 @@
 OPTS=-Ofast
 LDFLAGS= -lm -pthread 
 COMMON= 
-CFLAGS=-Wall -Wfatal-errors -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