Add workaround for NVIDIA HPC
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Tue, 12 Jan 2021 15:49:39 +0000 (16:49 +0100)
committerGitHub <noreply@github.com>
Tue, 12 Jan 2021 15:49:39 +0000 (16:49 +0100)
kernel/arm64/KERNEL.THUNDERX

index cb02c7b..669f626 100644 (file)
@@ -47,8 +47,13 @@ ZCOPYKERNEL  = copy.S
 
 SDOTKERNEL   = dot_thunderx.c
 DDOTKERNEL   = ddot_thunderx.c
+ifneq ($(C_COMPILER), PGI)
 CDOTKERNEL   = zdot.S
 ZDOTKERNEL   = zdot.S
+else
+CDOTKERNEL = ../arm/zdot.c
+ZDOTKERNEL = ../arm/zdot.c
+endif
 DSDOTKERNEL  = dot.S
 
 SNRM2KERNEL  = nrm2.S