[OpenACC] Add PGI compiler support for Skylake

This commit is contained in:
Tom Deakin 2019-03-13 04:14:11 -05:00
parent db9bf78530
commit f1f31d2a9b
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. - OpenACC flags to build for Volta and Skylake.
- 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 SNB, IVB, HSW, SKL
KEPLER, MAXWELL, PASCAL, VOLTA KEPLER, MAXWELL, PASCAL, VOLTA
HAWAII HAWAII
endef endef
@ -29,6 +29,7 @@ endif
TARGET_FLAGS_SNB = -ta=multicore -tp=sandybridge 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_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