]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Mirror what Kokkos upstream does.
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 11 Mar 2025 17:18:09 +0000 (11:18 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 22 Apr 2025 17:17:55 +0000 (11:17 -0600)
bundled/kokkos-4.5.01/core/src/View/Kokkos_BasicView.hpp

index 2f6eda04586feac30e683ca70f17f1d8eebda356..f95e8e9ef3274721d2a3f3c14076dd94d3e96798 100644 (file)
@@ -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 <class... OtherIndexTypes>
   KOKKOS_FUNCTION constexpr reference operator()(
       OtherIndexTypes... indices) const {

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.