From 81b80b93f4fd3273fcb8e8635e3b58936f3ca9ce Mon Sep 17 00:00:00 2001 From: Tom Deakin Date: Fri, 10 Nov 2017 15:33:22 +0000 Subject: [PATCH] Add OpenACC Volta flags --- OpenACC.make | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenACC.make b/OpenACC.make index cc61f8e..1e28e9d 100644 --- a/OpenACC.make +++ b/OpenACC.make @@ -20,7 +20,7 @@ define target_help Set a TARGET to ensure PGI targets the correct offload device. Available targets are: SNB, IVB, HSW - KEPLER, MAXWELL, PASCAL + KEPLER, MAXWELL, PASCAL, VOLTA HAWAII endef ifndef TARGET @@ -32,6 +32,7 @@ TARGET_FLAGS_HSW = -ta=multicore -tp=haswell TARGET_FLAGS_KEPLER = -ta=nvidia:cc35 TARGET_FLAGS_MAXWELL = -ta=nvidia:cc50 TARGET_FLAGS_PASCAL = -ta=nvidia:cc60 +TARGET_FLAGS_VOLTA = -ta=nvidia:cc70 TARGET_FLAGS_HAWAII = -ta=radeon:hawaii ifeq ($(TARGET_FLAGS_$(TARGET)),) $(error $(target_help))