Browse Source

Add target-specific options to enable SVE with the NVIDIA compiler

tags/v0.3.29
Martin Kroeker GitHub 9 months ago
parent
commit
1c4401ebf1
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 27 additions and 0 deletions
  1. +27
    -0
      Makefile.arm64

+ 27
- 0
Makefile.arm64 View File

@@ -351,4 +351,31 @@ endif


endif endif


else
# NVIDIA HPC options necessary to enable SVE in the compiler
ifeq ($(CORE), THUNDERX2T99)
CCOMMON_OPT += -tp=thunderx2t99
FCOMMON_OPT += -tp=thunderx2t99
endif
ifeq ($(CORE), NEOVERSEN1)
CCOMMON_OPT += -tp=neoverse-n1
FCOMMON_OPT += -tp=neoverse-n1
endif
ifeq ($(CORE), NEOVERSEV1)
CCOMMON_OPT += -tp=neoverse-v1
FCOMMON_OPT += -tp=neoverse-v1
endif
ifeq ($(CORE), NEOVERSEV2)
CCOMMON_OPT += -tp=neoverse-v2
FCOMMON_OPT += -tp=neoverse-v2
endif
ifeq ($(CORE), ARMV8SVE)
CCOMMON_OPT += -tp=neoverse-v2
FCOMMON_OPT += -tp=neoverse-v2
endif
ifeq ($(CORE), ARMV9SVE)
CCOMMON_OPT += -tp=neoverse-v2
FCOMMON_OPT += -tp=neoverse-v2
endif

endif endif

Loading…
Cancel
Save