From 8d5e10f635dd04600fd31adbd4188fb714cb76b0 Mon Sep 17 00:00:00 2001 From: Rafael Ravedutti Date: Wed, 21 Dec 2022 16:19:00 +0100 Subject: [PATCH] Fix compilation for gromacs-avx512-sp Signed-off-by: Rafael Ravedutti --- include_ISA.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include_ISA.mk b/include_ISA.mk index a8c8e24..969b736 100644 --- a/include_ISA.mk +++ b/include_ISA.mk @@ -9,13 +9,15 @@ else ifeq ($(strip $(ISA)), AVX_FMA) __ISA_AVX_FMA__=true __SIMD_WIDTH_DBL__=4 else ifeq ($(strip $(ISA)), AVX2) - __ISA_AVX2__=true #__SIMD_KERNEL__=true + __ISA_AVX2__=true __SIMD_WIDTH_DBL__=4 else ifeq ($(strip $(ISA)), AVX512) __ISA_AVX512__=true - __SIMD_KERNEL__=true __SIMD_WIDTH_DBL__=8 + ifeq ($(strip $(DATA_TYPE)), DP) + __SIMD_KERNEL__=true + endif endif # SIMD width is specified in double-precision, hence it may