@@ -44,18 +44,7 @@ HWY_BEFORE_NAMESPACE();
4444
4545namespace coder ::HWY_NAMESPACE {
4646
47- using hwy::HWY_NAMESPACE::ScalableTag;
48- using hwy::HWY_NAMESPACE::Vec;
49- using hwy::HWY_NAMESPACE::Set;
50- using hwy::HWY_NAMESPACE::LoadU;
51- using hwy::HWY_NAMESPACE::PromoteUpperTo;
52- using hwy::HWY_NAMESPACE::PromoteLowerTo;
53- using hwy::HWY_NAMESPACE::Mul;
54- using hwy::HWY_NAMESPACE::Combine;
55- using hwy::HWY_NAMESPACE::FixedTag;
56- using hwy::HWY_NAMESPACE::DemoteTo;
57- using hwy::HWY_NAMESPACE::ConvertTo;
58- using hwy::HWY_NAMESPACE::StoreU;
47+ using namespace hwy ::HWY_NAMESPACE;
5948 using hwy::float16_t ;
6049 using hwy::float32_t ;
6150
@@ -65,9 +54,9 @@ namespace coder::HWY_NAMESPACE {
6554 int x = 0 ;
6655 const ScalableTag<float16_t > df16;
6756 const ScalableTag<uint16_t > du16;
68- const FixedTag <uint32_t , df16. MaxLanes () / 2 > du32;
69- const FixedTag <float32_t , df16. MaxLanes () / 2 > df32;
70- const FixedTag <float16_t , df16. MaxLanes () / 2 > df16h;
57+ const Rebind <uint32_t , Half< decltype (df16)> > du32;
58+ const Rebind <float32_t , Half< decltype (df16)> > df32;
59+ const Rebind <float16_t , Half< decltype (df16)> > df16h;
7160 const int lanes = df16.MaxLanes ();
7261 using VF16 = Vec<decltype (df16)>;
7362 using VU16 = Vec<decltype (du16)>;
0 commit comments