Skip to content

Commit

Permalink
Merge pull request #23 from doi-master/avx512
Browse files Browse the repository at this point in the history
Avx512
  • Loading branch information
t-hishinuma authored Oct 9, 2020
2 parents 9330471 + e45bbdf commit 22f8901
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
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 $@

0 comments on commit 22f8901

Please sign in to comment.