Phalanx Development
|
#include <Phalanx_KokkosViewOfViews.hpp>
Public Types | |
using | OuterDataType = typename PHX::v_of_v_utils::add_pointer< InnerViewType, OuterViewRank >::type |
using | OuterViewType = Kokkos::View< OuterDataType, MemorySpace > |
Wrapper class that correctly handles ViewOfViews construction and object lifetime. Can be used for more than just Views as the inner object. This class makes sure the host view stays in scope for the life of the device view and makes sure that the device is synced to host before use.
Main restrictions: