mirror of
https://github.com/amd/blis.git
synced 2026-04-19 23:28:52 +00:00
Fixed scalapack xcsep failer due to cdotxv kernel.
-Failure was observed in zen configuration as gcc flag safe-math-optimization was being used for reference kernel compilation. - Optmized kernels were being compiled without this gcc flag resulted in computation difference resulting in test case failure. AMD-Internal: [CPUPL-2121] Change-Id: I5d86e589cdea633220aecadbcab84d9b88b31f57
This commit is contained in:
committed by
Dipal M Zambare
parent
7247e6a150
commit
349dcc459a
@@ -79,10 +79,10 @@ endif
|
||||
# Flags specific to reference kernels.
|
||||
CROPTFLAGS := $(CKOPTFLAGS)
|
||||
ifeq ($(CC_VENDOR),gcc)
|
||||
CRVECFLAGS := $(CKVECFLAGS) -funsafe-math-optimizations -ffp-contract=fast
|
||||
CRVECFLAGS := $(CKVECFLAGS)
|
||||
else
|
||||
ifeq ($(CC_VENDOR),clang)
|
||||
CRVECFLAGS := $(CKVECFLAGS) -funsafe-math-optimizations -ffp-contract=fast
|
||||
CRVECFLAGS := $(CKVECFLAGS)
|
||||
else
|
||||
CRVECFLAGS := $(CKVECFLAGS)
|
||||
endif
|
||||
|
||||
@@ -68,7 +68,7 @@ endif
|
||||
# Flags specific to reference kernels.
|
||||
CROPTFLAGS := $(CKOPTFLAGS)
|
||||
ifeq ($(CC_VENDOR),gcc)
|
||||
CRVECFLAGS := $(CKVECFLAGS) -funsafe-math-optimizations
|
||||
CRVECFLAGS := $(CKVECFLAGS)
|
||||
else
|
||||
CRVECFLAGS := $(CKVECFLAGS)
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user