|
Uni20
Asynchronous tensor and runtime library.
|
#include <generated_layout.hpp>
Public Types | |
| using | extents_type = Extents |
| using | index_type = typename extents_type::index_type |
| using | layout_type = GeneratedLayout |
| using | rank_type = typename extents_type::rank_type |
| using | size_type = typename extents_type::size_type |
Public Member Functions | |
| UNI20_HOST_DEVICE constexpr auto | extents () const noexcept -> extents_type const & |
| Return the generated value's logical extents. | |
| UNI20_HOST_DEVICE constexpr bool | is_exhaustive () const noexcept |
| UNI20_HOST_DEVICE constexpr bool | is_strided () const noexcept |
| UNI20_HOST_DEVICE constexpr bool | is_unique () const noexcept |
| UNI20_HOST_DEVICE constexpr | mapping ()=default |
| UNI20_HOST_DEVICE constexpr | mapping (extents_type const &extents) noexcept |
| Construct a synthetic mapping over the supplied logical extents. | |
| template<class... Indices> requires (sizeof...(Indices) == extents_type::rank() && (std::is_convertible_v<Indices, index_type> && ...)) | |
| UNI20_HOST_DEVICE constexpr auto | operator() (Indices... indices) const noexcept -> index_type |
| Encode a logical index as an accessor offset. | |
| UNI20_HOST_DEVICE constexpr auto | required_span_size () const noexcept -> index_type |
| Return the number of synthetic offsets in the logical index space. | |
Static Public Member Functions | |
| static UNI20_HOST_DEVICE constexpr bool | is_always_exhaustive () noexcept |
| static UNI20_HOST_DEVICE constexpr bool | is_always_strided () noexcept |
| static UNI20_HOST_DEVICE constexpr bool | is_always_unique () noexcept |
Friends | |
| UNI20_HOST_DEVICE constexpr bool | operator== (mapping const &, mapping const &)=default |
| using uni20::GeneratedLayout::mapping< Extents >::extents_type = Extents |
| using uni20::GeneratedLayout::mapping< Extents >::index_type = typename extents_type::index_type |
| using uni20::GeneratedLayout::mapping< Extents >::layout_type = GeneratedLayout |
| using uni20::GeneratedLayout::mapping< Extents >::rank_type = typename extents_type::rank_type |
| using uni20::GeneratedLayout::mapping< Extents >::size_type = typename extents_type::size_type |
|
constexprdefault |
|
inlineexplicitconstexprnoexcept |
Construct a synthetic mapping over the supplied logical extents.
|
inlineconstexprnoexcept |
Return the generated value's logical extents.
|
inlinestaticconstexprnoexcept |
|
inlinestaticconstexprnoexcept |
|
inlinestaticconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
Encode a logical index as an accessor offset.
|
inlineconstexprnoexcept |
Return the number of synthetic offsets in the logical index space.
|
friend |