diff options
author | kpu <github@kheafield.com> | 2018-06-11 01:59:05 +0300 |
---|---|---|
committer | kpu <github@kheafield.com> | 2018-06-11 01:59:05 +0300 |
commit | 7725cf8167426233771045cb77b61cf92b2d9835 (patch) | |
tree | 97d2225303438f62df947b39adcc7dac3200fda3 /Makefile | |
parent | d583c9827dd64b3c020ca2373d5fb71183883fbe (diff) |
Pull benchmark into separate file and do contrastive version
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |