Home
last modified time | relevance | path

Searched refs:round_up_pot (Results 1 – 6 of 6) sorted by relevance

/external/ruy/ruy/
Dsize_util_test.cc52 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()
Dsize_util.h88 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
Dcreate_trmul_params.h48 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(
Dallocator.cc50 round_up_pot(num_bytes, detail::kMinimumBlockAlignment); in AllocateBytes()
Dblock_map.cc441 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()
Dtest.h402 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);