Skip to content

Commit 8794544

Browse files
authored
Add support for compiling the Neoverse SVE kernels with the NVIDIA HPC compiler
1 parent e9f1b2d commit 8794544

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

kernel/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ else ifeq ($(TARGET_CORE), ZEN)
7777
override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE) $(AVX2OPT)
7878
else ifeq ($(TARGET_CORE), LOONGSON3R4)
7979
override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE) $(MSA_FLAGS)
80+
else ifneq ($(filter NEOVERSEN2 NEOVERSEV1, $(TARGET_CORE)),)
81+
ifeq ($(C_COMPILER), PGI)
82+
override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE) -Msve_intrinsics
83+
endif
8084
else
8185
override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE)
8286
endif

0 commit comments

Comments
 (0)