|
using | span_type = ChunkSpan< ElementType, SupportType, LayoutStridedPolicy, MemorySpace > |
| type of a span of this full chunk
|
|
using | view_type = ChunkSpan< ElementType const, SupportType, LayoutStridedPolicy, MemorySpace > |
| type of a view of this full chunk
|
|
using | discrete_domain_type = typename base_type::discrete_domain_type |
|
using | memory_space = MemorySpace |
|
using | allocation_mdspan_type = typename base_type::allocation_mdspan_type |
| The dereferenceable part of the co-domain but with a different domain, starting at 0.
|
|
using | const_allocation_mdspan_type = typename base_type::const_allocation_mdspan_type |
|
using | discrete_element_type = typename discrete_domain_type::discrete_element_type |
|
using | extents_type = typename base_type::extents_type |
|
using | layout_type = typename base_type::layout_type |
|
using | accessor_type = typename base_type::accessor_type |
|
using | mapping_type = typename base_type::mapping_type |
|
using | element_type = typename base_type::element_type |
|
using | value_type = typename base_type::value_type |
|
using | size_type = typename base_type::size_type |
|
using | data_handle_type = typename base_type::data_handle_type |
|
using | reference = typename base_type::reference |
|
using | discrete_domain_type = SupportType |
|
using | allocation_mdspan_type = Kokkos::mdspan< ElementType, Kokkos::dextents< std::size_t, SupportType::rank()>, LayoutStridedPolicy > |
| The dereferenceable part of the co-domain but with a different domain, starting at 0.
|
|
using | const_allocation_mdspan_type = Kokkos::mdspan< const ElementType, Kokkos::dextents< std::size_t, SupportType::rank()>, LayoutStridedPolicy > |
|
using | discrete_element_type = typename discrete_domain_type::discrete_element_type |
|
using | extents_type = typename allocation_mdspan_type::extents_type |
|
using | layout_type = typename allocation_mdspan_type::layout_type |
|
using | accessor_type = typename allocation_mdspan_type::accessor_type |
|
using | mapping_type = typename allocation_mdspan_type::mapping_type |
|
using | element_type = typename allocation_mdspan_type::element_type |
|
using | value_type = typename allocation_mdspan_type::value_type |
|
using | size_type = typename allocation_mdspan_type::size_type |
|
using | data_handle_type = typename allocation_mdspan_type::data_handle_type |
|
using | reference = typename allocation_mdspan_type::reference |
|
|
KOKKOS_DEFAULTED_FUNCTION constexpr | ChunkSpan ()=default |
| Empty ChunkSpan.
|
|
KOKKOS_DEFAULTED_FUNCTION constexpr | ChunkSpan (ChunkSpan const &other)=default |
| Constructs a new ChunkSpan by copy, yields a new view to the same data.
|
|
KOKKOS_DEFAULTED_FUNCTION constexpr | ChunkSpan (ChunkSpan &&other) noexcept=default |
| Constructs a new ChunkSpan by move.
|
|
template<class OElementType , class Allocator , class = std::enable_if_t<std::is_same_v<typename Allocator::memory_space, MemorySpace>>> |
| ChunkSpan (Chunk< OElementType, SupportType, Allocator > &&other) noexcept=delete |
| Forbids to construct a ChunkSpan from a rvalue of type Chunk.
|
|
template<class OElementType , class Allocator , class = std::enable_if_t<std::is_same_v<typename Allocator::memory_space, MemorySpace>>> |
KOKKOS_FUNCTION constexpr | ChunkSpan (Chunk< OElementType, SupportType, Allocator > &other) noexcept |
| Constructs a new ChunkSpan from a Chunk, yields a new view to the same data.
|
|
template<class OElementType , class SFINAEElementType = ElementType, class = std::enable_if_t<std::is_const_v<SFINAEElementType>>, class Allocator , class = std::enable_if_t<std::is_same_v<typename Allocator::memory_space, MemorySpace>>> |
KOKKOS_FUNCTION constexpr | ChunkSpan (Chunk< OElementType, SupportType, Allocator > const &other) noexcept |
| Constructs a new ChunkSpan from a Chunk, yields a new view to the same data.
|
|
template<class OElementType > |
KOKKOS_FUNCTION constexpr | ChunkSpan (ChunkSpan< OElementType, SupportType, layout_type, MemorySpace > const &other) noexcept |
| Constructs a new ChunkSpan by copy of a chunk, yields a new view to the same data.
|
|
template<class Mapping = mapping_type, std::enable_if_t< std::is_constructible_v< Mapping, extents_type >, int > = 0> |
KOKKOS_FUNCTION constexpr | ChunkSpan (ElementType *const ptr, SupportType const &domain) |
| Constructs a new ChunkSpan from scratch.
|
|
KOKKOS_FUNCTION constexpr | ChunkSpan (allocation_mdspan_type allocation_mdspan, SupportType const &domain) |
| Constructs a new ChunkSpan from scratch.
|
|
template<class KokkosView , class = std::enable_if_t<Kokkos::is_view_v<KokkosView>>> |
KOKKOS_FUNCTION constexpr | ChunkSpan (KokkosView const &view, SupportType const &domain) noexcept |
| Constructs a new ChunkSpan from scratch.
|
|
KOKKOS_DEFAULTED_FUNCTION | ~ChunkSpan () noexcept=default |
|
KOKKOS_DEFAULTED_FUNCTION constexpr ChunkSpan & | operator= (ChunkSpan const &other)=default |
| Copy-assigns a new value to this ChunkSpan, yields a new view to the same data.
|
|
KOKKOS_DEFAULTED_FUNCTION constexpr ChunkSpan & | operator= (ChunkSpan &&other) noexcept=default |
| Move-assigns a new value to this ChunkSpan.
|
|
template<class... QueryDDims> |
KOKKOS_FUNCTION constexpr auto | operator[] (DiscreteElement< QueryDDims... > const &slice_spec) const |
| Slice out some dimensions.
|
|
template<class... DElems> |
KOKKOS_FUNCTION constexpr reference | operator() (DElems const &... delems) const noexcept |
| Element access using a list of DiscreteElement.
|
|
KOKKOS_FUNCTION constexpr ElementType * | data_handle () const |
| Access to the underlying allocation pointer.
|
|
KOKKOS_FUNCTION constexpr allocation_mdspan_type | allocation_mdspan () const |
| Provide a mdspan on the memory allocation.
|
|
KOKKOS_FUNCTION constexpr auto | allocation_kokkos_view () const |
| Provide a mdspan on the memory allocation.
|
|
KOKKOS_FUNCTION constexpr view_type | span_cview () const |
|
KOKKOS_FUNCTION constexpr span_type | span_view () const |
|
KOKKOS_FUNCTION constexpr accessor_type | accessor () const |
|
KOKKOS_FUNCTION constexpr SupportType::discrete_vector_type | extents () const noexcept |
|
template<class QueryDDim > |
KOKKOS_FUNCTION constexpr size_type | extent () const noexcept |
|
KOKKOS_FUNCTION constexpr size_type | size () const noexcept |
|
KOKKOS_FUNCTION constexpr mapping_type | mapping () const noexcept |
|
KOKKOS_FUNCTION constexpr bool | is_unique () const noexcept |
|
KOKKOS_FUNCTION constexpr bool | is_exhaustive () const noexcept |
|
KOKKOS_FUNCTION constexpr bool | is_strided () const noexcept |
|
template<class QueryDDim > |
KOKKOS_FUNCTION constexpr size_type | stride () const |
|
KOKKOS_FUNCTION constexpr SupportType | domain () const noexcept |
| Provide access to the domain on which this chunk is defined.
|
|
template<class... QueryDDims> |
KOKKOS_FUNCTION constexpr DiscreteDomain< QueryDDims... > | domain () const noexcept |
| Provide access to the domain on which this chunk is defined.
|
|
Definition at line 386 of file chunk_span.hpp.