Include Likwid Markers. Allow to switch between SP and DP floats.

This commit is contained in:
Jan Eitzinger
2020-11-05 12:41:44 +01:00
parent b45ab26e03
commit b39957421c
11 changed files with 333 additions and 133 deletions

View File

@@ -2,18 +2,19 @@ CC = icc
CXX = icpc
LINKER = $(CC)
PROFILE = #-g -pg
OPTS = -Ofast -xCORE-AVX512 -qopt-zmm-usage=high $(PROFILE)
#OPTS = -O3 -xCORE-AVX2 $(PROFILE)
#OPTS = -O3 -xAVX $(PROFILE)
#OPTS = -O3 -xSSE4.2 $(PROFILE)
#OPTS = -O3 -no-vec $(PROFILE)
#OPTS = -Ofast -xHost $(PROFILE)
CFLAGS = $(PROFILE) -restrict $(OPTS)
OPENMP = #-qopenmp
PROFILE = #-profile-functions -g -pg
# OPTS = -fast -xCORE-AVX512 -qopt-zmm-usage=high $(PROFILE)
#OPTS = -fast -xCORE-AVX2 $(PROFILE)
#OPTS = -fast -xAVX $(PROFILE)
#OPTS = -fast -xSSE4.2 $(PROFILE)
#OPTS = -fast -no-vec $(PROFILE)
OPTS = -fast -xHost $(PROFILE)
CFLAGS = $(PROFILE) -restrict $(OPENMP) $(OPTS)
CXXFLAGS = $(CFLAGS)
ASFLAGS = -masm=intel
FCFLAGS =
LFLAGS = $(PROFILE) $(OPTS)
LFLAGS = $(PROFILE) $(OPTS) $(OPENMP)
DEFINES = -D_GNU_SOURCE -DALIGNMENT=64 # -DLIKWID_PERFMON -DPRECISION=1
INCLUDES =
LIBS =
INCLUDES = #$(LIKWID_INC)
LIBS = #$(LIKWID_LIB) -llikwid