#include <multi_index_transform.hpp>
|
| __host__ __device__ constexpr | Slice ()=default |
| __host__ __device__ constexpr | Slice (const LowLength &, const SliceBegin &slice_begin, const SliceEnd &slice_end) |
| __host__ __device__ constexpr const auto & | GetUpperLengths () const |
| template<typename LowIdx, typename UpIdx> |
| __host__ __device__ constexpr void | CalculateLowerIndex (LowIdx &idx_low, const UpIdx &idx_up) const |
| template<typename UpIdx> |
| __host__ __device__ constexpr bool | IsValidUpperIndexMappedToValidLowerIndex (const UpIdx &) const |
| __host__ __device__ void | Print () const |
◆ LowerIndex
template<typename LowLength, typename SliceBegin, typename SliceEnd>
◆ UpLengths
template<typename LowLength, typename SliceBegin, typename SliceEnd>
| using ck::Slice< LowLength, SliceBegin, SliceEnd >::UpLengths = decltype(make_tuple(SliceEnd{} - SliceBegin{})) |
◆ UpperIndex
template<typename LowLength, typename SliceBegin, typename SliceEnd>
◆ Slice() [1/2]
template<typename LowLength, typename SliceBegin, typename SliceEnd>
| __host__ __device__ constexpr ck::Slice< LowLength, SliceBegin, SliceEnd >::Slice |
( |
| ) |
|
|
constexprdefault |
◆ Slice() [2/2]
template<typename LowLength, typename SliceBegin, typename SliceEnd>
| __host__ __device__ constexpr ck::Slice< LowLength, SliceBegin, SliceEnd >::Slice |
( |
const LowLength & | , |
|
|
const SliceBegin & | slice_begin, |
|
|
const SliceEnd & | slice_end ) |
|
inlineconstexpr |
◆ CalculateLowerIndex()
template<typename LowLength, typename SliceBegin, typename SliceEnd>
template<typename LowIdx, typename UpIdx>
| __host__ __device__ constexpr void ck::Slice< LowLength, SliceBegin, SliceEnd >::CalculateLowerIndex |
( |
LowIdx & | idx_low, |
|
|
const UpIdx & | idx_up ) const |
|
inlineconstexpr |
◆ GetNumOfLowerDimension()
template<typename LowLength, typename SliceBegin, typename SliceEnd>
| __host__ static __device__ constexpr index_t ck::Slice< LowLength, SliceBegin, SliceEnd >::GetNumOfLowerDimension |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ GetNumOfUpperDimension()
template<typename LowLength, typename SliceBegin, typename SliceEnd>
| __host__ static __device__ constexpr index_t ck::Slice< LowLength, SliceBegin, SliceEnd >::GetNumOfUpperDimension |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ GetUpperLengths()
template<typename LowLength, typename SliceBegin, typename SliceEnd>
| __host__ __device__ constexpr const auto & ck::Slice< LowLength, SliceBegin, SliceEnd >::GetUpperLengths |
( |
| ) |
const |
|
inlineconstexpr |
◆ IsKnownAtCompileTime()
template<typename LowLength, typename SliceBegin, typename SliceEnd>
| __host__ static __device__ constexpr bool ck::Slice< LowLength, SliceBegin, SliceEnd >::IsKnownAtCompileTime |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ IsLinearTransform()
template<typename LowLength, typename SliceBegin, typename SliceEnd>
| __host__ static __device__ constexpr bool ck::Slice< LowLength, SliceBegin, SliceEnd >::IsLinearTransform |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ IsValidUpperIndexAlwaysMappedToValidLowerIndex()
template<typename LowLength, typename SliceBegin, typename SliceEnd>
| __host__ static __device__ constexpr bool ck::Slice< LowLength, SliceBegin, SliceEnd >::IsValidUpperIndexAlwaysMappedToValidLowerIndex |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ IsValidUpperIndexMappedToValidLowerIndex()
template<typename LowLength, typename SliceBegin, typename SliceEnd>
template<typename UpIdx>
| __host__ __device__ constexpr bool ck::Slice< LowLength, SliceBegin, SliceEnd >::IsValidUpperIndexMappedToValidLowerIndex |
( |
const UpIdx & | | ) |
const |
|
inlineconstexpr |
◆ Print()
template<typename LowLength, typename SliceBegin, typename SliceEnd>
| __host__ __device__ void ck::Slice< LowLength, SliceBegin, SliceEnd >::Print |
( |
| ) |
const |
|
inline |
◆ UpdateLowerIndex()
template<typename LowLength, typename SliceBegin, typename SliceEnd>
template<typename LowIdxDiff, typename UpIdxDiff, typename LowIdx, typename UpIdx,
index_t Hack>
| __host__ static __device__ void ck::Slice< LowLength, SliceBegin, SliceEnd >::UpdateLowerIndex |
( |
LowIdxDiff & | idx_diff_low, |
|
|
const UpIdxDiff & | idx_diff_up, |
|
|
LowIdx & | idx_low, |
|
|
const UpIdx & | , |
|
|
Number< Hack > | ) |
|
inlinestatic |
◆ slice_begin_
template<typename LowLength, typename SliceBegin, typename SliceEnd>
| SliceBegin ck::Slice< LowLength, SliceBegin, SliceEnd >::slice_begin_ |
◆ slice_end_
template<typename LowLength, typename SliceBegin, typename SliceEnd>
| SliceEnd ck::Slice< LowLength, SliceBegin, SliceEnd >::slice_end_ |
◆ up_lengths_
template<typename LowLength, typename SliceBegin, typename SliceEnd>
The documentation for this struct was generated from the following file: