Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/intgemm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkpu <github@kheafield.com>2018-06-11 01:59:05 +0300
committerkpu <github@kheafield.com>2018-06-11 01:59:05 +0300
commit7725cf8167426233771045cb77b61cf92b2d9835 (patch)
tree97d2225303438f62df947b39adcc7dac3200fda3 /Makefile
parentd583c9827dd64b3c020ca2373d5fb71183883fbe (diff)
Pull benchmark into separate file and do contrastive version
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b440358..7f93764 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,16 @@
CXX := g++
-CXXFLAGS := -Wall -Werror -fPIC -O3 -march=native -mavx512vl -mavx512bw
+CXXFLAGS := -DNDEBUG -Wall -Werror -fPIC -O3 -march=native -mavx512vl -mavx512bw
SRC := AVX_Matrix_Mult.cc SSE_Matrix_Mult.cc Quantize.cc StopWatch.cc
OBJ := ${SRC:.cc=.o}
-all: Test QuantizeTest
+all: Test QuantizeTest Benchmark
Test: ${OBJ} Test.o
${CXX} ${CXXFLAGS} ${OBJ} Test.o -o Test
+Benchmark: ${OBJ} Benchmark.o
+ ${CXX} ${CXXFLAGS} ${OBJ} Benchmark.o -o Benchmark
+
QuantizeTest: Quantize.o QuantizeTest.o StopWatch.o
${CXX} ${CXXFLAGS} Quantize.o QuantizeTest.o StopWatch.o -o QuantizeTest