Skip to content

Commit ef85c22

Browse files
authored
Add workaround for LAPACK test failures with the NVIDIA HPC compiler
1 parent d3555d2 commit ef85c22

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

kernel/power/KERNEL.POWER9

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,13 @@ ZROTKERNEL = zrot.c
166166
#
167167
SSCALKERNEL = sscal.c
168168
DSCALKERNEL = dscal.c
169+
ifeq ($(C_COMPILER), PGI)
170+
CSCALKERNEL = ../arm/zscal.c
171+
ZSCALKERNEL = ../arm/zscal.c
172+
else
169173
CSCALKERNEL = zscal.c
170174
ZSCALKERNEL = zscal.c
175+
endif
171176
#
172177
SSWAPKERNEL = sswap.c
173178
DSWAPKERNEL = dswap.c

0 commit comments

Comments
 (0)