Home
last modified time | relevance | path

Searched refs:Log2Ceiling (Results 1 – 11 of 11) sorted by relevance

/external/libchrome/base/
Dbits_unittest.cc36 TEST(BitsTest, Log2Ceiling) { in TEST() argument
37 EXPECT_EQ(-1, Log2Ceiling(0)); in TEST()
38 EXPECT_EQ(0, Log2Ceiling(1)); in TEST()
39 EXPECT_EQ(1, Log2Ceiling(2)); in TEST()
40 EXPECT_EQ(2, Log2Ceiling(3)); in TEST()
41 EXPECT_EQ(2, Log2Ceiling(4)); in TEST()
44 EXPECT_EQ(i, Log2Ceiling(value)); in TEST()
45 EXPECT_EQ(i + 1, Log2Ceiling(value + 1)); in TEST()
46 EXPECT_EQ(i + 1, Log2Ceiling(value + 2)); in TEST()
47 EXPECT_EQ(i, Log2Ceiling(value - 1)); in TEST()
[all …]
Dbits.h174 inline int Log2Ceiling(uint32_t n) { in Log2Ceiling() function
/external/tensorflow/tensorflow/core/lib/core/
Dbits.h29 int Log2Ceiling(uint32 n);
79 inline int Log2Ceiling(uint32 n) { in Log2Ceiling() function
96 int exponent = Log2Ceiling(value); in NextPowerOfTwo()
102 int exponent = Log2Ceiling(value); in NextPowerOfTwo64()
/external/tensorflow/tensorflow/lite/kernels/internal/
Dspectrogram.cc61 inline int Log2Ceiling(uint32_t n) { in Log2Ceiling() function
70 int exponent = Log2Ceiling(value); in NextPowerOfTwo()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dxla_self_adjoint_eig_op.cc53 int max_iter = 2 * tensorflow::Log2Ceiling(n); in Compile()
Dxla_svd_op.cc68 int max_iter = 2 * tensorflow::Log2Ceiling(std::max(m, n)); in Compile()
/external/pdfium/third_party/base/
Dbits.h176 inline int Log2Ceiling(uint32_t n) { in Log2Ceiling() function
/external/tensorflow/tensorflow/core/tpu/kernels/
Dtopk_ops.cc189 int32 log2_ceiling = tensorflow::Log2Ceiling(width); in CreateTopKUnique()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_cost_analysis.cc956 current_properties_[kFlopsKey] = elements * tensorflow::Log2Ceiling(elements); in HandleSort()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dir_emitter.cc1488 for (int i = 0, e = 1 + tensorflow::Log2Ceiling(element_count); i < e; i++) { in CreateShardedVectorType()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emitter_unnested.cc2891 int64 num_stages = tensorflow::Log2Ceiling(dimension_to_sort_bound); in EmitSortFromMlir()