Compadre
1.5.7
|
Creates 1D subviews of data from a 1D view, generally constructed with CreateNDSliceOnDeviceView. More...
Creates 1D subviews of data from a 1D view, generally constructed with CreateNDSliceOnDeviceView.
Definition at line 59 of file Compadre_Evaluator.hpp.
#include <Compadre_Evaluator.hpp>
Public Member Functions | |
SubviewND (T data_in, T2 data_original_view, bool scalar_as_vector_if_needed) | |
auto | get1DView (const int column_num) -> decltype(Kokkos::subview(_data_in, Kokkos::ALL)) |
auto | get2DView (const int column_num, const int block_size) -> decltype(Kokkos::subview(_data_in, Kokkos::ALL)) |
T2 | copyToAndReturnOriginalView () |
Public Attributes | |
T | _data_in |
T2 | _data_original_view |
bool | _scalar_as_vector_if_needed |
|
inline |
Definition at line 66 of file Compadre_Evaluator.hpp.
|
inline |
Definition at line 87 of file Compadre_Evaluator.hpp.
|
inline |
Definition at line 72 of file Compadre_Evaluator.hpp.
|
inline |
Definition at line 82 of file Compadre_Evaluator.hpp.
T Compadre::SubviewND< T, T2, enable_if_t<(T::rank< 2)> >::_data_in |
Definition at line 62 of file Compadre_Evaluator.hpp.
T2 Compadre::SubviewND< T, T2, enable_if_t<(T::rank< 2)> >::_data_original_view |
Definition at line 63 of file Compadre_Evaluator.hpp.
bool Compadre::SubviewND< T, T2, enable_if_t<(T::rank< 2)> >::_scalar_as_vector_if_needed |
Definition at line 64 of file Compadre_Evaluator.hpp.