Skip to content

Commit

Permalink
Merge pull request #5887 from msimberg/nvhpc-version-macro-more-digits
Browse files Browse the repository at this point in the history
Add more digits to version components in `KOKKOS_NVHPC_COMPILER`
  • Loading branch information
crtrott authored Feb 17, 2023
2 parents 15989dd + 60ba1e1 commit 3d2dc6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/Kokkos_Macros.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3d2dc6a

Please sign in to comment.