Skip to content

Commit

Permalink
Fix flag passed to NVHPC when Kokkos_ARCH_NATIVE is ON
Browse files Browse the repository at this point in the history
  • Loading branch information
dalg24 committed Feb 1, 2023
1 parent ccbfb00 commit 93487cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/kokkos_arch.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 93487cf

Please sign in to comment.