2022-12-13 01:06:59 +01:00
|
|
|
CC = icx
|
|
|
|
LINKER = $(CC)
|
|
|
|
|
|
|
|
OPENMP = #-qopenmp
|
|
|
|
PROFILE = #-profile-functions -g -pg
|
|
|
|
#OPTS = -Ofast -xCORE-AVX512 -qopt-zmm-usage=high $(PROFILE)
|
|
|
|
#OPTS = -Ofast -xCORE-AVX2 $(PROFILE)
|
|
|
|
#OPTS = -Ofast -xAVX $(PROFILE)
|
|
|
|
#OPTS = -Ofast -xAVX2 $(PROFILE)
|
|
|
|
#OPTS = -Ofast -xSSE4.2 $(PROFILE)
|
|
|
|
#OPTS = -Ofast -no-vec $(PROFILE)
|
|
|
|
OPTS = -Ofast -xHost $(PROFILE)
|
2022-12-13 15:35:41 +01:00
|
|
|
CFLAGS = $(PROFILE) $(OPENMP) $(OPTS)
|
2022-12-13 01:06:59 +01:00
|
|
|
ASFLAGS = #-masm=intel
|
|
|
|
LFLAGS = $(PROFILE) $(OPTS) $(OPENMP)
|
|
|
|
DEFINES = -std=c11 -pedantic-errors -D_GNU_SOURCE -DNO_ZMM_INTRIN
|
|
|
|
INCLUDES =
|
|
|
|
LIBS = -lm
|