offset< LowLength, OffsetLength > Struct Template Reference#
Public Types |
Public Member Functions |
Static Public Member Functions |
Public Attributes |
List of all members
ck_tile::offset< LowLength, OffsetLength > Struct Template Reference
#include <coordinate_transform.hpp>
Inheritance diagram for ck_tile::offset< LowLength, OffsetLength >:

Public Types | |
using | LowerIndex = multi_index< 1 > |
using | UpperIndex = multi_index< 1 > |
using | UpLengths = decltype(make_tuple(LowLength{})) |
Public Member Functions | |
constexpr CK_TILE_HOST_DEVICE | offset ()=default |
constexpr CK_TILE_HOST_DEVICE | offset (const LowLength &low_length, const OffsetLength &offset_length) |
constexpr CK_TILE_HOST_DEVICE const auto & | get_upper_lengths () const |
template<typename LowIdx , typename UpIdx > | |
constexpr CK_TILE_HOST_DEVICE void | calculate_lower_index (LowIdx &idx_low, const UpIdx &idx_up) const |
template<typename UpIdx > | |
constexpr CK_TILE_HOST_DEVICE bool | is_valid_upper_index_mapped_to_valid_lower_index (const UpIdx &) const |
CK_TILE_HOST_DEVICE void | print () const |
Static Public Member Functions | |
static constexpr CK_TILE_HOST_DEVICE auto | get_type_enum () |
template<typename LowIdxDiff , typename UpIdxDiff , typename LowIdx , typename UpIdx > | |
static CK_TILE_HOST_DEVICE void | update_lower_index (LowIdxDiff &idx_diff_low, const UpIdxDiff &idx_diff_up, LowIdx &idx_low, const UpIdx &) |
static constexpr CK_TILE_HOST_DEVICE bool | is_valid_upper_index_always_mapped_to_valid_lower_index () |
static constexpr CK_TILE_HOST_DEVICE bool | is_known_at_compile_time () |
![]() | |
static constexpr CK_TILE_HOST_DEVICE auto | get_type_enum () |
static constexpr CK_TILE_HOST_DEVICE index_t | get_num_of_lower_dimension () |
static constexpr CK_TILE_HOST_DEVICE index_t | get_num_of_upper_dimension () |
static constexpr CK_TILE_HOST_DEVICE auto | calculate_upper_dimension_safe_vector_length_strides (const LowVectorLengths &, const LowVectorStrides &) |
Public Attributes | |
UpLengths | up_lengths_ |
OffsetLength | offset_length_ |
Member Typedef Documentation
◆ LowerIndex
template<typename LowLength , typename OffsetLength >
using ck_tile::offset< LowLength, OffsetLength >::LowerIndex = multi_index<1> |
◆ UpLengths
template<typename LowLength , typename OffsetLength >
using ck_tile::offset< LowLength, OffsetLength >::UpLengths = decltype(make_tuple(LowLength{})) |
◆ UpperIndex
template<typename LowLength , typename OffsetLength >
using ck_tile::offset< LowLength, OffsetLength >::UpperIndex = multi_index<1> |
Constructor & Destructor Documentation
◆ offset() [1/2]
template<typename LowLength , typename OffsetLength >
|
constexprdefault |
◆ offset() [2/2]
template<typename LowLength , typename OffsetLength >
|
inlineconstexpr |
Member Function Documentation
◆ calculate_lower_index()
template<typename LowLength , typename OffsetLength >
template<typename LowIdx , typename UpIdx >
|
inlineconstexpr |
◆ get_type_enum()
template<typename LowLength , typename OffsetLength >
|
inlinestaticconstexpr |
◆ get_upper_lengths()
template<typename LowLength , typename OffsetLength >
|
inlineconstexpr |
◆ is_known_at_compile_time()
template<typename LowLength , typename OffsetLength >
|
inlinestaticconstexpr |
◆ is_valid_upper_index_always_mapped_to_valid_lower_index()
template<typename LowLength , typename OffsetLength >
|
inlinestaticconstexpr |
◆ is_valid_upper_index_mapped_to_valid_lower_index()
template<typename LowLength , typename OffsetLength >
template<typename UpIdx >
|
inlineconstexpr |
◆ print()
template<typename LowLength , typename OffsetLength >
|
inline |
◆ update_lower_index()
template<typename LowLength , typename OffsetLength >
template<typename LowIdxDiff , typename UpIdxDiff , typename LowIdx , typename UpIdx >
|
inlinestatic |
Member Data Documentation
◆ offset_length_
template<typename LowLength , typename OffsetLength >
OffsetLength ck_tile::offset< LowLength, OffsetLength >::offset_length_ |
◆ up_lengths_
template<typename LowLength , typename OffsetLength >
UpLengths ck_tile::offset< LowLength, OffsetLength >::up_lengths_ |
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/docs-6.4.3/include/ck_tile/core/algorithm/coordinate_transform.hpp