Searched refs:round_up_pot (Results 1 – 6 of 6) sorted by relevance
/external/ruy/ruy/ |
D | size_util_test.cc | 52 EXPECT_EQ(round_up_pot(value), static_cast<Integer>(1) << ceil_log2(value)); in SizeUtilTestValue() 53 EXPECT_GE(round_up_pot(value), value); in SizeUtilTestValue() 54 EXPECT_LE(round_up_pot(value) >> 1, value); in SizeUtilTestValue() 55 EXPECT_TRUE(is_pot(round_up_pot(value))); in SizeUtilTestValue() 63 EXPECT_LE(value, round_up_pot(value, modulo)); in SizeUtilTestValue() 64 EXPECT_EQ(round_up_pot(value, modulo) % modulo, 0); in SizeUtilTestValue()
|
D | size_util.h | 88 Integer round_up_pot(Integer value) { in round_up_pot() function 99 Integer round_up_pot(Integer value, Modulo modulo) { in round_up_pot() function
|
D | create_trmul_params.h | 48 packed_layout->rows = round_up_pot(src.rows, kernel_layout.rows); in CreatePackedLayout() 49 packed_layout->cols = round_up_pot(src.cols, kernel_layout.cols); in CreatePackedLayout() 289 const int user_capacity = round_up_pot( 333 const int user_capacity = round_up_pot( 362 const int user_capacity = round_up_pot(
|
D | allocator.cc | 50 round_up_pot(num_bytes, detail::kMinimumBlockAlignment); in AllocateBytes()
|
D | block_map.cc | 441 round_up_pot(rows - (small_block_rows << num_blocks_of_rows_log2), in MakeBlockMap() 445 round_up_pot(cols - (small_block_cols << num_blocks_of_cols_log2), in MakeBlockMap()
|
D | test.h | 402 std::size_t rounded_buffer_size = round_up_pot(buffer_size, page_size); 434 std::size_t rounded_buffer_size = round_up_pot(buffer_size, page_size);
|