From c4d9b7701df9ecdbd91fd2ea5a69f81d0f7709d7 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 11 Mar 2025 11:18:09 -0600 Subject: [PATCH] Mirror what Kokkos upstream does. --- bundled/kokkos-4.5.01/core/src/View/Kokkos_BasicView.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.39.5