From 1013cd6eae438d63bd02693b2c8c7415c0c850fd Mon Sep 17 00:00:00 2001 From: Branden Moore Date: Fri, 16 Dec 2022 12:54:38 -0600 Subject: [PATCH] Vector masking is part of AVX512, not limited to Intel compiler --- src/INTEL/intel_preprocess.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/INTEL/intel_preprocess.h b/src/INTEL/intel_preprocess.h index 23f137f51d..a3c961f436 100644 --- a/src/INTEL/intel_preprocess.h +++ b/src/INTEL/intel_preprocess.h @@ -134,6 +134,9 @@ enum {TIME_PACK, TIME_HOST_NEIGHBOR, TIME_HOST_PAIR, TIME_OFFLOAD_NEIGHBOR, #undef INTEL_VECTOR_WIDTH #define INTEL_VECTOR_WIDTH 1 #define INTEL_COMPILE_WIDTH 1 +#if defined(__AVX512F__) && !defined(INTEL_VMASK) +#define INTEL_VMASK 1 +#endif #endif