2022-12-13 01:06:59 +01:00
|
|
|
CC = icx
|
|
|
|
LINKER = $(CC)
|
|
|
|
|
|
|
|
OPENMP = #-qopenmp
|
|
|
|
PROFILE = #-profile-functions -g -pg
|
2022-12-21 18:04:18 +01:00
|
|
|
OPTS = -Ofast -xCORE-AVX512 -qopt-zmm-usage=high $(PROFILE)
|
|
|
|
#OPTS = -Ofast -march=cascadelake -xCORE-AVX512 -qopt-zmm-usage=high $(PROFILE)
|
2022-12-13 01:06:59 +01:00
|
|
|
#OPTS = -Ofast -xCORE-AVX2 $(PROFILE)
|
|
|
|
#OPTS = -Ofast -xAVX $(PROFILE)
|
|
|
|
#OPTS = -Ofast -xAVX2 $(PROFILE)
|
|
|
|
#OPTS = -Ofast -xSSE4.2 $(PROFILE)
|
|
|
|
#OPTS = -Ofast -no-vec $(PROFILE)
|
2022-12-21 18:04:18 +01:00
|
|
|
#OPTS = -Ofast -xHost $(PROFILE)
|
2023-01-11 15:30:26 +01:00
|
|
|
#OPTS = -Ofast -march=core-avx2 $(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
|