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:
authorKenneth Heafield <github@kheafield.com>2018-05-12 17:41:04 +0300
committerKenneth Heafield <github@kheafield.com>2018-05-12 17:42:42 +0300
commite2f596f22e94d7eec1386af6f1ef8f9872ad1cba (patch)
tree66731915f2b427f90eeee47e83a1ef39486774b0 /Makefile
parent6f0fd704a51477280c0640c09b28017122997afa (diff)
8-bit quantizer.
Fix 16-bit quantizer output.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 0f970d9..d66240b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,15 @@
CXX := g++
-CXXFLAGS := -Wall -Werror -fPIC -O3 -march=native
-SRC := AVX_Matrix_Mult.cc SSE_Matrix_Mult.cc StopWatch.cc Test.cc
+CXXFLAGS := -Wall -Werror -fPIC -O3 -march=native -mavx512vl
+SRC := AVX_Matrix_Mult.cc SSE_Matrix_Mult.cc StopWatch.cc
OBJ := ${SRC:.cc=.o}
-all: Test
+all: Test QuantizeTest
-Test: ${OBJ}
- ${CXX} ${CXXFLAGS} ${OBJ} -o Test
+Test: ${OBJ} Test.o
+ ${CXX} ${CXXFLAGS} ${OBJ} Test.o -o Test
+
+QuantizeTest: ${OBJ} QuantizeTest.o
+ ${CXX} ${CXXFLAGS} ${OBJ} QuantizeTest.o -o QuantizeTest
.c.o:
${CXX} ${CXXFLAGS} -c $<