|
Kokkos Core Kernels Package
Version of the Day
|
Dynamic views are restricted to rank-one and no layout. Subviews are not allowed. More...
#include <Kokkos_DynamicView.hpp>

Public Types | |
| typedef DynamicView< typename traits::data_type, typename traits::device_type > | array_type |
| Compatible view of array of scalar types. More... | |
| typedef DynamicView< typename traits::const_data_type, typename traits::device_type > | const_type |
| Compatible view of const data type. More... | |
| typedef DynamicView< typename traits::non_const_data_type, typename traits::device_type > | non_const_type |
| Compatible view of non-const data type. More... | |
| typedef DynamicView | HostMirror |
| Must be accessible everywhere. More... | |
Public Member Functions | |
| KOKKOS_INLINE_FUNCTION void | resize_parallel (size_t n) const |
| Resizing in parallel only increases the array size, never decrease. More... | |
| template<typename IntType > | |
| std::enable_if< std::is_integral< IntType >::value &&Kokkos::Impl::MemorySpaceAccess< Kokkos::HostSpace, typename traits::memory_space >::accessible >::type | resize_serial (IntType const &n) |
| Resizing in serial can grow or shrink the array size,. More... | |
| DynamicView (const std::string &arg_label, const memory_pool &arg_pool, const size_t arg_size_max) | |
| Allocation constructor. More... | |
Dynamic views are restricted to rank-one and no layout. Subviews are not allowed.
Definition at line 59 of file Kokkos_DynamicView.hpp.
| typedef DynamicView< typename traits::data_type , typename traits::device_type > Kokkos::Experimental::DynamicView< DataType, P >::array_type |
Compatible view of array of scalar types.
Definition at line 107 of file Kokkos_DynamicView.hpp.
| typedef DynamicView< typename traits::const_data_type , typename traits::device_type > Kokkos::Experimental::DynamicView< DataType, P >::const_type |
Compatible view of const data type.
Definition at line 112 of file Kokkos_DynamicView.hpp.
| typedef DynamicView< typename traits::non_const_data_type , typename traits::device_type > Kokkos::Experimental::DynamicView< DataType, P >::non_const_type |
Compatible view of non-const data type.
Definition at line 117 of file Kokkos_DynamicView.hpp.
| typedef DynamicView Kokkos::Experimental::DynamicView< DataType, P >::HostMirror |
Must be accessible everywhere.
Definition at line 120 of file Kokkos_DynamicView.hpp.
|
inlineexplicit |
Allocation constructor.
Memory is allocated in chunks from the memory pool. The chunk size conforms to the memory pool's chunk size. A maximum size is required in order to allocate a chunk-pointer array.
Definition at line 493 of file Kokkos_DynamicView.hpp.
|
inline |
Resizing in parallel only increases the array size, never decrease.
Definition at line 239 of file Kokkos_DynamicView.hpp.
|
inline |
Resizing in serial can grow or shrink the array size,.
Definition at line 296 of file Kokkos_DynamicView.hpp.
1.8.13