Home
last modified time | relevance | path

Searched refs:is_pot (Results 1 – 12 of 12) sorted by relevance

/external/ruy/ruy/
Dsize_util_test.cc37 if (is_pot(value)) { in SizeUtilTestValue()
48 EXPECT_TRUE(is_pot(round_down_pot(value))); in SizeUtilTestValue()
51 EXPECT_EQ(value >> ceil_log2(value), is_pot(value) ? 1 : 0); in SizeUtilTestValue()
55 EXPECT_TRUE(is_pot(round_up_pot(value))); in SizeUtilTestValue()
Dsize_util.h72 constexpr bool is_pot(Integer value) { in is_pot() function
78 RUY_DCHECK(is_pot(n)); in pot_log2()
Dkernel.h108 static_assert(is_pot(LhsLayout::kRows), "");
109 static_assert(is_pot(LhsLayout::kCols), "");
110 static_assert(is_pot(RhsLayout::kRows), "");
111 static_assert(is_pot(RhsLayout::kCols), "");
Dallocator.cc77 static_assert(is_pot(kMinPeriod), ""); in AllocateBytesAvoidingAliasingWith()
Dmat.h374 RUY_DCHECK(is_pot(layout.kernel.rows)); in Offset()
375 RUY_DCHECK(is_pot(layout.kernel.cols)); in Offset()
/external/virglrenderer/src/gallium/auxiliary/util/
Du_format_parse.py47 def is_pot(x): function
190 def is_pot(self): member in Format
191 return is_pot(self.block_size())
/external/mesa3d/src/freedreno/vulkan/
Dvk_format_parse.py45 def is_pot(x): function
194 def is_pot(self): member in Format
195 return is_pot(self.block_size())
/external/mesa3d/src/util/format/
Du_format_parse.py47 def is_pot(x): function
211 def is_pot(self): member in Format
212 return is_pot(self.block_size())
Du_format_pack.py104 assert channel.size % 8 == 0 and is_pot(channel.size)
126 if channel.size % 8 or not is_pot(channel.size):
/external/mesa3d/src/amd/vulkan/
Dvk_format_parse.py45 def is_pot(x): function
202 def is_pot(self): member in Format
203 return is_pot(self.block_size())
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample_aos.c85 boolean is_pot, in lp_build_sample_wrap_nearest_int() argument
98 if(is_pot) in lp_build_sample_wrap_nearest_int()
222 boolean is_pot, in lp_build_sample_wrap_linear_int() argument
247 if (is_pot) { in lp_build_sample_wrap_linear_int()
304 if (is_pot) { in lp_build_sample_wrap_linear_int()
Dlp_bld_sample_soa.c324 boolean is_pot, in lp_build_sample_wrap_linear() argument
339 if (is_pot) { in lp_build_sample_wrap_linear()
690 boolean is_pot, in lp_build_sample_wrap_nearest() argument
701 if (is_pot) { in lp_build_sample_wrap_nearest()