Skip to content

Commit

Permalink
add makefile for mkl gemm
Browse files Browse the repository at this point in the history
  • Loading branch information
simon2 committed Jun 1, 2021
1 parent 616fcf9 commit 6d33dd1
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions benchmarker/kernels/gemm/mkl/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#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


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 6d33dd1

Please sign in to comment.