fill.hpp Source File#
tile/host/fill.hpp
Go to the documentation of this file.
281// Normally FillUniformDistributionIntegerValue should use std::uniform_int_distribution as below.
typename RawIntegerType_< sizeof(T)>::type RawIntegerType
Definition tile/host/fill.hpp:168
Definition tile/core/algorithm/cluster_descriptor.hpp:13
CK_TILE_HOST_DEVICE constexpr Y type_convert(X x)
Definition tile/core/numeric/type_convert.hpp:29
STL namespace.
Transforms given input to fit 2:4 structured sparsity pattern so every subgroup of 4 elements contain...
Definition tile/host/fill.hpp:454
auto operator()(ForwardRange &&range) const -> std::void_t< decltype(std::declval< const AdjustToStructuredSparsity & >()(std::begin(std::forward< ForwardRange >(range)), std::end(std::forward< ForwardRange >(range))))>
Definition tile/host/fill.hpp:482
static constexpr int32_t masks[]
Definition tile/host/fill.hpp:458
void operator()(ForwardIter first, ForwardIter last) const
Definition tile/host/fill.hpp:471
Definition tile/host/fill.hpp:429
auto operator()(ForwardRange &&range) const -> std::void_t< decltype(std::declval< const FillConstant & >()(std::begin(std::forward< ForwardRange >(range)), std::end(std::forward< ForwardRange >(range))))>
Definition tile/host/fill.hpp:439
void operator()(ForwardIter first, ForwardIter last) const
Definition tile/host/fill.hpp:433
Definition tile/host/fill.hpp:356
auto operator()(ForwardRange &&range) const -> std::void_t< decltype(std::declval< const FillMonotonicSeq & >()(std::begin(std::forward< ForwardRange >(range)), std::end(std::forward< ForwardRange >(range))))>
Definition tile/host/fill.hpp:378
void operator()(ForwardIter first, ForwardIter last) const
Definition tile/host/fill.hpp:361
Definition tile/host/fill.hpp:226
std::optional< uint32_t > seed_
Definition tile/host/fill.hpp:229
void operator()(ForwardIter first, ForwardIter last) const
Definition tile/host/fill.hpp:234
auto operator()(ForwardRange &&range) const -> std::void_t< decltype(std::declval< const FillNormalDistribution & >()(std::begin(std::forward< ForwardRange >(range)), std::end(std::forward< ForwardRange >(range))))>
Definition tile/host/fill.hpp:271
Definition tile/host/fill.hpp:329
void operator()(ForwardIter first, ForwardIter last) const
Definition tile/host/fill.hpp:335
float variance_
Definition tile/host/fill.hpp:331
auto operator()(ForwardRange &&range) const -> std::void_t< decltype(std::declval< const FillNormalDistributionIntegerValue & >()(std::begin(std::forward< ForwardRange >(range)), std::end(std::forward< ForwardRange >(range))))>
Definition tile/host/fill.hpp:344
std::optional< uint32_t > seed_
Definition tile/host/fill.hpp:332
Definition tile/host/fill.hpp:390
void operator()(ForwardIter first, ForwardIter last) const
Definition tile/host/fill.hpp:396
auto operator()(ForwardRange &&range) const -> std::void_t< decltype(std::declval< const FillStepRange & >()(std::begin(std::forward< ForwardRange >(range)), std::end(std::forward< ForwardRange >(range))))>
Definition tile/host/fill.hpp:417
Definition tile/host/fill.hpp:497
Definition tile/host/fill.hpp:494
void operator()(ForwardIter first, ForwardIter last) const
Definition tile/host/fill.hpp:517
auto operator()(ForwardRange &&range) const -> std::void_t< decltype(std::declval< const FillTrigValue & >()(std::begin(std::forward< ForwardRange >(range)), std::end(std::forward< ForwardRange >(range))))>
Definition tile/host/fill.hpp:524
void operator()(ForwardIter first, ForwardIter last) const
Definition tile/host/fill.hpp:111
std::optional< uint32_t > seed_
Definition tile/host/fill.hpp:109
auto operator()(ForwardRange &&range) const -> std::void_t< decltype(std::declval< const FillUniformDistribution & >()(std::begin(std::forward< ForwardRange >(range)), std::end(std::forward< ForwardRange >(range))))>
Definition tile/host/fill.hpp:147
void operator()(ForwardIter first, ForwardIter last)
Definition tile/host/fill.hpp:194
std::optional< uint32_t > seed_
Definition tile/host/fill.hpp:177
FillUniformDistribution_Unique(float a=-5.f, float b=5.f, std::optional< uint32_t > seed={11939})
Definition tile/host/fill.hpp:182
auto operator()(ForwardRange &&range) -> std::void_t< decltype(std::declval< FillUniformDistribution_Unique & >()(std::begin(std::forward< ForwardRange >(range)), std::end(std::forward< ForwardRange >(range))))>
Definition tile/host/fill.hpp:212
std::unordered_set< impl::RawIntegerType< T > > set_
Definition tile/host/fill.hpp:180
Definition tile/host/fill.hpp:40
void operator()(ForwardIter first, ForwardIter last) const
Definition tile/host/fill.hpp:49
std::optional< uint32_t > seed_
Definition tile/host/fill.hpp:43
auto operator()(ForwardRange &&range) const -> std::void_t< decltype(std::declval< const FillUniformDistribution & >()(std::begin(std::forward< ForwardRange >(range)), std::end(std::forward< ForwardRange >(range))))>
Definition tile/host/fill.hpp:93
Definition tile/host/fill.hpp:302
std::optional< uint32_t > seed_
Definition tile/host/fill.hpp:305
auto operator()(ForwardRange &&range) const -> std::void_t< decltype(std::declval< const FillUniformDistributionIntegerValue & >()(std::begin(std::forward< ForwardRange >(range)), std::end(std::forward< ForwardRange >(range))))>
Definition tile/host/fill.hpp:317
void operator()(ForwardIter first, ForwardIter last) const
Definition tile/host/fill.hpp:308
Definition tile/host/fill.hpp:160
Definition joinable_thread.hpp:12
static constexpr int PackedSize
Definition tile/core/numeric/numeric.hpp:82
Definition pk_int4.hpp:21