mirror of
https://github.com/amd/blis.git
synced 2026-05-11 17:50:00 +00:00
Adjust -fopenmp-simd for icc's preferred syntax.
Details: - Use -qopenmp-simd instead of -fopenmp-simd when compiling with Intel icc. Recall that this option is used for SIMD auto-vectorization in reference kernels only. Support for the -f option has been completely deprecated and removed in newer versions of icc in favor of -q. Thanks to Victor Eijkhout for reporting this issue and suggesting the fix.
This commit is contained in:
committed by
Devrajegowda, Kiran
parent
78adbe9846
commit
6e9b1e0244
10
common.mk
10
common.mk
@@ -763,8 +763,18 @@ endif
|
||||
# --- #pragma omp simd flags (used for reference kernels only) ---
|
||||
|
||||
ifeq ($(PRAGMA_OMP_SIMD),yes)
|
||||
ifeq ($(CC_VENDOR),gcc)
|
||||
COMPSIMDFLAGS := -fopenmp-simd
|
||||
else
|
||||
ifeq ($(CC_VENDOR),clang)
|
||||
COMPSIMDFLAGS := -fopenmp-simd
|
||||
else
|
||||
ifeq ($(CC_VENDOR),icc)
|
||||
COMPSIMDFLAGS := -qopenmp-simd
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
else # ifeq ($(PRAGMA_OMP_SIMD),no)
|
||||
COMPSIMDFLAGS :=
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user