42 #ifndef TPETRA_DETAILS_GETENTRYONHOST_HPP
43 #define TPETRA_DETAILS_GETENTRYONHOST_HPP
51 #include "TpetraCore_config.h"
52 #include "Kokkos_Core.hpp"
57 template<
class ViewType,
59 typename ViewType::non_const_value_type
60 getEntryOnHost (
const ViewType& x,
63 static_assert (ViewType::Rank == 1,
"x must be a rank-1 Kokkos::View.");
65 typename ViewType::non_const_value_type val;
73 #endif // TPETRA_DETAILS_GETENTRYONHOST_HPP
void deep_copy(MultiVector< DS, DL, DG, DN > &dst, const MultiVector< SS, SL, SG, SN > &src)
Copy the contents of the MultiVector src into dst.