blockwise_welford.hpp Source File#
blockwise_welford.hpp
Go to the documentation of this file.
Definition ck.hpp:268
__host__ __device__ constexpr auto make_multi_index(Xs &&... xs)
Definition array_multi_index.hpp:15
__host__ __device__ constexpr auto make_cluster_descriptor(const Lengths &lengths, ArrangeOrder order=typename arithmetic_sequence_gen< 0, Lengths::Size(), 1 >::type{})
Definition tensor_description/cluster_descriptor.hpp:13
__host__ __device__ constexpr Y type_convert(X x)
Definition utility/type_convert.hpp:98
__host__ __device__ constexpr auto make_naive_tensor_descriptor_packed(const Tuple< Lengths... > &lengths)
Definition tensor_descriptor_helper.hpp:101
__host__ __device__ constexpr auto make_tuple(Xs &&... xs)
Definition utility/tuple.hpp:211
Definition blockwise_welford.hpp:25
static constexpr auto thread_cluster_desc
Definition blockwise_welford.hpp:35
static constexpr auto BufferLength_K
Definition blockwise_welford.hpp:30
static constexpr auto block_buf_desc_m_k
Definition blockwise_welford.hpp:32
static __device__ void Run(T &mean_value, T &var_value, CountDataType &count)
Definition blockwise_welford.hpp:51
static constexpr auto BufferLength_M
Definition blockwise_welford.hpp:29
static __device__ void Merge(T &mean_a, T &var_a, CountDataType &count_a, T mean_b, T var_b, CountDataType count_b)
Definition blockwise_welford.hpp:40
Definition functional2.hpp:33