diff --git a/packages/sacado/src/Kokkos_LayoutContiguous.hpp b/packages/sacado/src/Kokkos_LayoutContiguous.hpp index ed24481eaf29..acb722d2fe99 100644 --- a/packages/sacado/src/Kokkos_LayoutContiguous.hpp +++ b/packages/sacado/src/Kokkos_LayoutContiguous.hpp @@ -83,7 +83,11 @@ namespace std { }; template +#if defined(KOKKOS_COMPILER_INTEL) + inline constexpr bool is_same_v< Kokkos::LayoutContiguous, Layout> = is_same, Layout>::value; +#else static constexpr bool is_same_v< Kokkos::LayoutContiguous, Layout> = is_same, Layout>::value; +#endif template struct is_same< Layout, Kokkos::LayoutContiguous > { @@ -91,7 +95,11 @@ namespace std { }; template +#if defined(KOKKOS_COMPILER_INTEL) + inline constexpr bool is_same_v< Layout, Kokkos::LayoutContiguous> = is_same, Layout>::value; +#else static constexpr bool is_same_v< Layout, Kokkos::LayoutContiguous> = is_same, Layout>::value; +#endif } #if KOKKOS_VERSION >= 40499