From eb9c88ef734d693e65ec35036811363a35e6b5d3 Mon Sep 17 00:00:00 2001 From: AlexeyAB <alexeyab84@gmail.com> Date: Sat, 14 Apr 2018 22:51:21 +0000 Subject: [PATCH] Fixed bug in Tensor Cores V100 (1. Desc in Batch norm, 2. Manually selected algo). Also fixed time measure on Linux for multi-threading. --- Makefile | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2c5fdb6..8428fb6 100644 --- a/Makefile +++ b/Makefile @@ -44,10 +44,12 @@ OPTS=-Ofast LDFLAGS= -lm -pthread COMMON= -CFLAGS=-Wall -Wfatal-errors +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