7 void view_print(
const T& view, std::string label,
int stride=1){
12 printf(
"\nView label: %s - %s\n", view.label().c_str(), label.c_str());
13 for(
int i=0; i<view_h.extent(0); i+=stride){
14 printf(
" (%d): %1.15e\n", i, view_h(i));
void mirror_copy(T1 &view_dest, const T2 &view_src)
Definition: my_mirror_view.hpp:122
View< T *, CLayout, Device > my_mirror_view(const View< T *, CLayout, Device > &view, Device nd)
Definition: my_mirror_view.hpp:14
Kokkos::Device< HostExSpace, HostMemSpace > HostType
Definition: space_settings.hpp:57
void view_print(const T &view, std::string label, int stride=1)
Definition: view_print.hpp:7