From c8098a5cc0395c75c6b978b2454e6b7bd3d6ce96 Mon Sep 17 00:00:00 2001 From: Tom Deakin Date: Thu, 14 Mar 2019 09:11:16 -0500 Subject: [PATCH] [OpenACC] Add KNL support --- CHANGELOG.md | 2 +- OpenACC.make | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b6abbeb..2c07081 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. ## [Unreleased] ### 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. - OpenMP GNU compiler now uses native target flag. - Support CSV output for Triad only running mode. diff --git a/OpenACC.make b/OpenACC.make index 8de578c..69fb7d7 100644 --- a/OpenACC.make +++ b/OpenACC.make @@ -19,7 +19,7 @@ ifeq ($(COMPILER), PGI) define target_help Set a TARGET to ensure PGI targets the correct offload device. Available targets are: - SNB, IVB, HSW, SKL + SNB, IVB, HSW, SKL, KNL KEPLER, MAXWELL, PASCAL, VOLTA HAWAII endef @@ -30,6 +30,7 @@ TARGET_FLAGS_SNB = -ta=multicore -tp=sandybridge TARGET_FLAGS_IVB = -ta=multicore -tp=ivybridge TARGET_FLAGS_HSW = -ta=multicore -tp=haswell TARGET_FLAGS_SKL = -ta=multicore -tp=skylake +TARGET_FLAGS_KNL = -ta=multicore -tp=knl TARGET_FLAGS_KEPLER = -ta=nvidia:cc35 TARGET_FLAGS_MAXWELL = -ta=nvidia:cc50 TARGET_FLAGS_PASCAL = -ta=nvidia:cc60