Skip to content

Commit

Permalink
changed makefile for mkl gemm.
Browse files Browse the repository at this point in the history
  • Loading branch information
simon2 committed Jun 2, 2021
1 parent 8232a48 commit 62a82e7
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions benchmarker/kernels/gemm/mkl/Makefile
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
#icpc -std=c++11 -fopenmp -o main main.cpp -mkl
.PHONY: run

CXXFLAGS=-Wall -O3 -fopenmp --std=c++14 -msse3 -ftree-vectorize -ftree-vectorizer-verbose=3 -fopt-info-vec

CFLAGS=-Wall -O3 -fopenmp -ftree-vectorize -ftree-vectorizer-verbose=3 -fopt-info-vec
CXX=icpc

CXXFLAGS=-Wall -O3 -fopenmp -std=c++14 -msse3 -ftree-vectorize -mkl

all: main

main: main.cpp
# mkl only works for intel compiler
icpc -o $@ $^ $(CXXFLAGS) -mkl

run: main
./main 128 128 128

0 comments on commit 62a82e7

Please sign in to comment.