Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avx512 #23

Merged
merged 3 commits into from
Oct 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ This library provides BLAS / Sparse BLAS functions for the following six types.
### Vector
* d_real_vector
* dd_real_vector
### Sparse matrix
### Sparse matrix (CRS format)
* d_real_SpMat
* dd_real_SpMat

It has BLAS Lv.1 and Sparse BLAS functions for these types.

Expand Down
4 changes: 2 additions & 2 deletions src/Makefile.avx512
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
TARGET=../lib/libdd-avx.so
LINK=-I../include/ -I./core/ -L../lib/ -lqd

CXXFLAGS+=-O3 -std=c++17 -fopenmp -lm -g -fPIC
CXXFLAGS= -O3 -std=c++17 -fopenmp -lm -fPIC
CXXFLAGS+= -DUSE_AVX512 -DUSE_FMA -mavx512f -mfma
LIBFLAGS=-shared

Expand Down Expand Up @@ -31,4 +31,4 @@ $(TARGET): $(OBJS)
g++ $(CXXFLAGS) $(LIBFLAGS) $(LINK) $(OBJS) -o $(TARGET)

$(OBJDIR)/%.o: %.cpp
g++ $(CXXFLAGS) $(LINK) -c $< -o $@
g++ $(CXXFLAGS) $(LINK) -I../include -c $< -o $@