From 93487cf1e87149d76bc217d6f6f97275fbd41edd Mon Sep 17 00:00:00 2001 From: Damien L-G Date: Wed, 1 Feb 2023 16:07:46 -0500 Subject: [PATCH] Fix flag passed to NVHPC when `Kokkos_ARCH_NATIVE` is `ON` --- cmake/kokkos_arch.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/kokkos_arch.cmake b/cmake/kokkos_arch.cmake index f05b22079f..c33eccb319 100644 --- a/cmake/kokkos_arch.cmake +++ b/cmake/kokkos_arch.cmake @@ -237,6 +237,7 @@ IF(KOKKOS_ARCH_NATIVE) ENDIF() COMPILER_SPECIFIC_FLAGS( COMPILER_ID KOKKOS_CXX_HOST_COMPILER_ID + NVHPC -tp=native DEFAULT ${KOKKOS_NATIVE_FLAGS} ) ENDIF()