From 60ba1e1eeb921455dd3a6926d8dce188ff55362a Mon Sep 17 00:00:00 2001 From: Mikael Simberg Date: Fri, 17 Feb 2023 12:13:46 +0100 Subject: [PATCH] Add one more digit for KOKKOS_COMPILER_NVHPC version components --- core/src/Kokkos_Macros.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/Kokkos_Macros.hpp b/core/src/Kokkos_Macros.hpp index 7e9e23b64f..4f5bda88ed 100644 --- a/core/src/Kokkos_Macros.hpp +++ b/core/src/Kokkos_Macros.hpp @@ -163,8 +163,8 @@ #endif #if defined(__NVCOMPILER) -#define KOKKOS_COMPILER_NVHPC \ - __NVCOMPILER_MAJOR__ * 100 + __NVCOMPILER_MINOR__ * 10 + \ +#define KOKKOS_COMPILER_NVHPC \ + __NVCOMPILER_MAJOR__ * 10000 + __NVCOMPILER_MINOR__ * 100 + \ __NVCOMPILER_PATCHLEVEL__ #endif