Searched refs:Log2Ceiling (Results 1 – 11 of 11) sorted by relevance
/external/libchrome/base/ |
D | bits_unittest.cc | 36 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 …]
|
D | bits.h | 174 inline int Log2Ceiling(uint32_t n) { in Log2Ceiling() function
|
/external/tensorflow/tensorflow/core/lib/core/ |
D | bits.h | 29 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/ |
D | spectrogram.cc | 61 inline int Log2Ceiling(uint32_t n) { in Log2Ceiling() function 70 int exponent = Log2Ceiling(value); in NextPowerOfTwo()
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | xla_self_adjoint_eig_op.cc | 53 int max_iter = 2 * tensorflow::Log2Ceiling(n); in Compile()
|
D | xla_svd_op.cc | 68 int max_iter = 2 * tensorflow::Log2Ceiling(std::max(m, n)); in Compile()
|
/external/pdfium/third_party/base/ |
D | bits.h | 176 inline int Log2Ceiling(uint32_t n) { in Log2Ceiling() function
|
/external/tensorflow/tensorflow/core/tpu/kernels/ |
D | topk_ops.cc | 189 int32 log2_ceiling = tensorflow::Log2Ceiling(width); in CreateTopKUnique()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_cost_analysis.cc | 956 current_properties_[kFlopsKey] = elements * tensorflow::Log2Ceiling(elements); in HandleSort()
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | ir_emitter.cc | 1488 for (int i = 0, e = 1 + tensorflow::Log2Ceiling(element_count); i < e; i++) { in CreateShardedVectorType()
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | ir_emitter_unnested.cc | 2891 int64 num_stages = tensorflow::Log2Ceiling(dimension_to_sort_bound); in EmitSortFromMlir()
|