From: Wolfgang Bangerth Date: Tue, 11 Mar 2025 17:18:09 +0000 (-0600) Subject: Mirror what Kokkos upstream does. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4d9b7701df9ecdbd91fd2ea5a69f81d0f7709d7;p=dealii.git Mirror what Kokkos upstream does. --- diff --git a/bundled/kokkos-4.5.01/core/src/View/Kokkos_BasicView.hpp b/bundled/kokkos-4.5.01/core/src/View/Kokkos_BasicView.hpp index 2f6eda0458..f95e8e9ef3 100644 --- a/bundled/kokkos-4.5.01/core/src/View/Kokkos_BasicView.hpp +++ b/bundled/kokkos-4.5.01/core/src/View/Kokkos_BasicView.hpp @@ -523,7 +523,7 @@ class BasicView { // Some weird unexplained issue in compiling the SFINAE version with CUDA/MSVC // So we just use post factor check here with static_assert -#if defined(KOKKOS_ENABLE_CUDA) || defined(_WIN32) +#if defined(_WIN32) template KOKKOS_FUNCTION constexpr reference operator()( OtherIndexTypes... indices) const {