Searched refs:ceil_log2 (Results 1 – 4 of 4) sorted by relevance
34 EXPECT_LE(floor_log2(value), ceil_log2(value)); in SizeUtilTestValue()35 EXPECT_LE(ceil_log2(value), 8 * sizeof(Integer)); in SizeUtilTestValue()38 EXPECT_EQ(floor_log2(value), ceil_log2(value)); in SizeUtilTestValue()41 EXPECT_EQ(floor_log2(value) + 1, ceil_log2(value)); in SizeUtilTestValue()50 if (ceil_log2(value) < static_cast<int>(8 * sizeof(Integer) - 1)) { in SizeUtilTestValue()51 EXPECT_EQ(value >> ceil_log2(value), is_pot(value) ? 1 : 0); in SizeUtilTestValue()52 EXPECT_EQ(round_up_pot(value), static_cast<Integer>(1) << ceil_log2(value)); in SizeUtilTestValue()
66 Integer ceil_log2(Integer n) { in ceil_log2() function89 return static_cast<Integer>(1) << ceil_log2(value); in round_up_pot()
160 int log2_quotient = floor_log2(num) - ceil_log2(denom); in floor_log2_quotient()186 ceil_log2(cols) - pot_log2(kernel_cols); in GetRectangularness()198 ceil_log2(rows) - pot_log2(kernel_rows); in GetRectangularness()229 candidate_num_full_blocks_log2 - ceil_log2(tentative_thread_count); in GetMultithreadingScore()262 const int total_read_bytes_log2 = ceil_log2(total_read_bytes); in GetCacheLocalityScore()
260 0, ceil_log2(rows) + ceil_log2(cols) + ceil_log2(depth) - kDivisorLog2); in GetTentativeThreadCount()