[OpenACC] Add KNL support

This commit is contained in:
Tom Deakin 2019-03-14 09:11:16 -05:00
parent f1f31d2a9b
commit c8098a5cc0
2 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
## [Unreleased] ## [Unreleased]
### Added ### Added
- OpenACC flags to build for Volta and Skylake. - OpenACC flags to build for Volta, Skylake and KNL.
- Kokkos list CLI argument shows some information about which device will be used. - Kokkos list CLI argument shows some information about which device will be used.
- OpenMP GNU compiler now uses native target flag. - OpenMP GNU compiler now uses native target flag.
- Support CSV output for Triad only running mode. - Support CSV output for Triad only running mode.

View File

@ -19,7 +19,7 @@ ifeq ($(COMPILER), PGI)
define target_help define target_help
Set a TARGET to ensure PGI targets the correct offload device. Set a TARGET to ensure PGI targets the correct offload device.
Available targets are: Available targets are:
SNB, IVB, HSW, SKL SNB, IVB, HSW, SKL, KNL
KEPLER, MAXWELL, PASCAL, VOLTA KEPLER, MAXWELL, PASCAL, VOLTA
HAWAII HAWAII
endef endef
@ -30,6 +30,7 @@ TARGET_FLAGS_SNB = -ta=multicore -tp=sandybridge
TARGET_FLAGS_IVB = -ta=multicore -tp=ivybridge TARGET_FLAGS_IVB = -ta=multicore -tp=ivybridge
TARGET_FLAGS_HSW = -ta=multicore -tp=haswell TARGET_FLAGS_HSW = -ta=multicore -tp=haswell
TARGET_FLAGS_SKL = -ta=multicore -tp=skylake TARGET_FLAGS_SKL = -ta=multicore -tp=skylake
TARGET_FLAGS_KNL = -ta=multicore -tp=knl
TARGET_FLAGS_KEPLER = -ta=nvidia:cc35 TARGET_FLAGS_KEPLER = -ta=nvidia:cc35
TARGET_FLAGS_MAXWELL = -ta=nvidia:cc50 TARGET_FLAGS_MAXWELL = -ta=nvidia:cc50
TARGET_FLAGS_PASCAL = -ta=nvidia:cc60 TARGET_FLAGS_PASCAL = -ta=nvidia:cc60