From 952b841a391c115066c64befd8d1dba48225e18c Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Fri, 3 Mar 2023 19:02:46 +0100 Subject: [PATCH] Fix Kokkos_Threads_Parallel_MDRange.hpp --- core/src/Threads/Kokkos_Threads_Parallel_MDRange.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/Threads/Kokkos_Threads_Parallel_MDRange.hpp b/core/src/Threads/Kokkos_Threads_Parallel_MDRange.hpp index 29eceb36ea..3ba8d27f5c 100644 --- a/core/src/Threads/Kokkos_Threads_Parallel_MDRange.hpp +++ b/core/src/Threads/Kokkos_Threads_Parallel_MDRange.hpp @@ -209,14 +209,14 @@ class ParallelReduce + template ParallelReduce(const CombinedFunctorReducerType &arg_functor_reducer, const MDRangePolicy &arg_policy, - const HostViewType &arg_result_view) + const ViewType &arg_result_view) : m_iter(arg_policy, arg_functor_reducer.get_functor()), m_reducer(arg_functor_reducer.get_reducer()), m_result_ptr(arg_result_view.data()) { - static_assert(Kokkos::is_view::value, + static_assert(Kokkos::is_view::value, "Kokkos::Threads reduce result must be a View"); static_assert(