Searched refs:is_pot (Results 1 – 12 of 12) sorted by relevance
/external/ruy/ruy/ |
D | size_util_test.cc | 37 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()
|
D | size_util.h | 72 constexpr bool is_pot(Integer value) { in is_pot() function 78 RUY_DCHECK(is_pot(n)); in pot_log2()
|
D | kernel.h | 108 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), "");
|
D | allocator.cc | 77 static_assert(is_pot(kMinPeriod), ""); in AllocateBytesAvoidingAliasingWith()
|
D | mat.h | 374 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/ |
D | u_format_parse.py | 47 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/ |
D | vk_format_parse.py | 45 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/ |
D | u_format_parse.py | 47 def is_pot(x): function 211 def is_pot(self): member in Format 212 return is_pot(self.block_size())
|
D | u_format_pack.py | 104 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/ |
D | vk_format_parse.py | 45 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/ |
D | lp_bld_sample_aos.c | 85 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()
|
D | lp_bld_sample_soa.c | 324 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()
|