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

Porting to Arm #16

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open
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
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ all:
cd benchmarks/pileup; $(MAKE) CC=$(CC) arch=$(ARCH) VTUNE_HOME=$(VTUNE_HOME)
cd benchmarks/kmer-cnt; $(MAKE) CXX=$(CXX) arch=$(ARCH) VTUNE_HOME=$(VTUNE_HOME)
cd benchmarks/grm/2.0/build_dynamic; $(MAKE) CC=$(CC) CXX=$(CXX) arch=$(ARCH) VTUNE_HOME=$(VTUNE_HOME) MKLROOT=$(MKLROOT) MKL_IOMP5_DIR=$(MKL_IOMP5_DIR) #needs MKL
cd benchmarks/wfa; $(MAKE) CXX=$(CXX) arch=$(ARCH) VTUNE_HOME=$(VTUNE_HOME)

gpu:
cd benchmarks/abea; $(MAKE) CUDA_LIB=$(CUDA_LIB)
Expand All @@ -41,3 +42,4 @@ clean:
cd benchmarks/pileup; $(MAKE) clean
cd benchmarks/kmer-cnt; $(MAKE) clean
cd benchmarks/grm/2.0/build_dynamic; $(MAKE) clean
cd benchmarks/wfa; $(MAKE) clean
7 changes: 4 additions & 3 deletions benchmarks/bsw/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ else ifneq ($(arch),)
ARCH_FLAGS=$(arch)
endif

CXXFLAGS= -DSORT_PAIRS -DENABLE_PREFETCH -DBWA_OTHER_ELE=0 -O3 -std=c++11 -fopenmp $(ARCH_FLAGS) #-mtune=native -march=native
# fno-strict-aliasing is required to prevent errors in vector code.
CXXFLAGS= -DSORT_PAIRS -DENABLE_PREFETCH -DBWA_OTHER_ELE=0 -O3 -std=c++11 -fno-strict-aliasing -fopenmp $(ARCH_FLAGS) #-mtune=native -march=native
#VTUNE_HOME= /opt/intel/oneapi/vtune/2021.1.1
INCLUDES=
LIBS= -fopenmp -lz -ldl
Expand All @@ -83,5 +84,5 @@ clean:


# DO NOT DELETE
main_banded.o: bandedSWA.h macro.h utils.h
bandedSWA.o: bandedSWA.h macro.h utils.h
main_banded.o: bandedSWA.h macro.h utils.h sse2sve.h
bandedSWA.o: bandedSWA.h macro.h utils.h sse2sve.h
Loading