tensor_space_filling_curve.hpp Source File#
tensor_space_filling_curve.hpp
Go to the documentation of this file.
87 constexpr auto ordered_access_idx = to_index_adaptor.CalculateBottomIndex(make_multi_index(Number<AccessIdx1d>{}));
Definition ck.hpp:268
__host__ __device__ constexpr auto make_multi_index(Xs &&... xs)
Definition array_multi_index.hpp:15
typename detail::StaticallyIndexedArrayImpl< T, N >::type StaticallyIndexedArray
Definition utility/statically_indexed_array.hpp:45
__host__ __device__ constexpr auto make_single_stage_tensor_adaptor(const Transforms &transforms, LowerDimensionOldTopIdss, UpperDimensionNewTopIdss)
Definition tensor_description/tensor_adaptor.hpp:425
__host__ __device__ constexpr auto make_merge_transform(const LowLengths &low_lengths)
Definition multi_index_transform_helper.hpp:55
__host__ __device__ constexpr auto container_reorder_given_old2new(const Array< TData, NSize > &old_array, Sequence< IRs... > old2new)
Definition utility/container_helper.hpp:54
__host__ __device__ constexpr auto generate_tuple(F &&f, Number< N >)
Definition tuple_helper.hpp:21
__host__ __device__ constexpr auto make_tuple(Xs &&... xs)
Definition utility/tuple.hpp:211
__host__ __device__ constexpr auto container_reverse_exclusive_scan(const Array< TData, NSize > &x, Reduce f, TData init)
Definition utility/container_helper.hpp:213
__host__ __device__ constexpr index_t reduce_on_sequence(Seq, Reduce f, Number< Init >)
Definition utility/sequence.hpp:884
__host__ __device__ constexpr auto container_reorder_given_new2old(const Array< TData, NSize > &old_array, Sequence< IRs... >)
Definition utility/container_helper.hpp:43
Definition utility/sequence.hpp:43
Definition tensor_space_filling_curve.hpp:20
static __device__ __host__ constexpr auto GetStepBetween(Number< AccessIdx1dBegin >, Number< AccessIdx1dEnd >)
Definition tensor_space_filling_curve.hpp:52
static constexpr auto I0
Definition tensor_space_filling_curve.hpp:38
static constexpr auto to_index_adaptor
Definition tensor_space_filling_curve.hpp:33
static __device__ __host__ constexpr auto GetIndexTupleOfNumber(Number< AccessIdx1d >)
Definition tensor_space_filling_curve.hpp:152
__host__ static __device__ constexpr index_t GetNumOfAccess()
Definition tensor_space_filling_curve.hpp:41
static __device__ __host__ constexpr auto GetBackwardStep(Number< AccessIdx1d >)
Definition tensor_space_filling_curve.hpp:73
static constexpr auto ordered_access_lengths
Definition tensor_space_filling_curve.hpp:30
static constexpr index_t nDim
Definition tensor_space_filling_curve.hpp:21
static constexpr auto I1
Definition tensor_space_filling_curve.hpp:39
static __device__ __host__ constexpr Index GetIndex(Number< AccessIdx1d >)
Definition tensor_space_filling_curve.hpp:81
static constexpr index_t ScalarPerVector
Definition tensor_space_filling_curve.hpp:25
static __device__ __host__ constexpr auto GetForwardStep(Number< AccessIdx1d >)
Definition tensor_space_filling_curve.hpp:66
static constexpr auto access_lengths
Definition tensor_space_filling_curve.hpp:28
static constexpr auto dim_access_order
Definition tensor_space_filling_curve.hpp:29
typename conditional< kHasContent, type0, type1 >::type type
Definition utility/sequence.hpp:271
Definition utility/math.hpp:34
Definition functional2.hpp:33
Definition utility/sequence.hpp:289