Kokkos Core Kernels Package
Version of the Day
|
Declaration and definition of Kokkos::DynRankView. More...
#include <Kokkos_Core.hpp>
#include <impl/Kokkos_Error.hpp>
#include <type_traits>
Go to the source code of this file.
Classes | |
struct | Kokkos::Impl::ViewToDynRankViewTag |
Assign compatible default mappings. More... | |
Namespaces | |
Kokkos | |
Functions | |
template<unsigned , typename iType0 , class MapType > | |
KOKKOS_INLINE_FUNCTION bool | Kokkos::Impl::dyn_rank_view_verify_operator_bounds (const iType0 &, const MapType &) |
Debug bounds-checking routines. More... | |
template<class DT , class... DP> | |
void | Kokkos::deep_copy (const DynRankView< DT, DP...> &dst, typename ViewTraits< DT, DP...>::const_value_type &value, typename std::enable_if< std::is_same< typename ViewTraits< DT, DP...>::specialize, void >::value >::type *=0) |
Deep copy a value from Host memory into a view. More... | |
template<class ST , class... SP> | |
void | Kokkos::deep_copy (typename ViewTraits< ST, SP...>::non_const_value_type &dst, const DynRankView< ST, SP...> &src, typename std::enable_if< std::is_same< typename ViewTraits< ST, SP...>::specialize, void >::value >::type *=0) |
Deep copy into a value in Host memory from a view. More... | |
template<class DstType , class SrcType > | |
void | Kokkos::deep_copy (const DstType &dst, const SrcType &src, typename std::enable_if<(std::is_same< typename DstType::traits::specialize, void >::value &&std::is_same< typename SrcType::traits::specialize, void >::value &&(Kokkos::is_dyn_rank_view< DstType >::value||Kokkos::is_dyn_rank_view< SrcType >::value))>::type *=0) |
A deep copy between views of the default specialization, compatible type, same rank, same contiguous layout. More... | |
template<class T , class... P> | |
void | Kokkos::resize (DynRankView< T, P...> &v, const size_t n0=KOKKOS_INVALID_INDEX, const size_t n1=KOKKOS_INVALID_INDEX, const size_t n2=KOKKOS_INVALID_INDEX, const size_t n3=KOKKOS_INVALID_INDEX, const size_t n4=KOKKOS_INVALID_INDEX, const size_t n5=KOKKOS_INVALID_INDEX, const size_t n6=KOKKOS_INVALID_INDEX, const size_t n7=KOKKOS_INVALID_INDEX) |
Resize a view with copying old data to new data at the corresponding indices. More... | |
template<class T , class... P> | |
void | Kokkos::realloc (DynRankView< T, P...> &v, const size_t n0=KOKKOS_INVALID_INDEX, const size_t n1=KOKKOS_INVALID_INDEX, const size_t n2=KOKKOS_INVALID_INDEX, const size_t n3=KOKKOS_INVALID_INDEX, const size_t n4=KOKKOS_INVALID_INDEX, const size_t n5=KOKKOS_INVALID_INDEX, const size_t n6=KOKKOS_INVALID_INDEX, const size_t n7=KOKKOS_INVALID_INDEX) |
Resize a view with copying old data to new data at the corresponding indices. More... | |
Declaration and definition of Kokkos::DynRankView.
This header file declares and defines Kokkos::DynRankView and its related nonmember functions.
Definition in file Kokkos_DynRankView.hpp.