Home
last modified time | relevance | path

Searched refs:Log2FloorNonZeroSlow (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_bfc_allocator_test.cc511 EXPECT_EQ(-1, a.Log2FloorNonZeroSlow(0)); in TestLog2FloorNonZeroSlow()
512 EXPECT_EQ(0, a.Log2FloorNonZeroSlow(1)); in TestLog2FloorNonZeroSlow()
513 EXPECT_EQ(1, a.Log2FloorNonZeroSlow(2)); in TestLog2FloorNonZeroSlow()
514 EXPECT_EQ(1, a.Log2FloorNonZeroSlow(3)); in TestLog2FloorNonZeroSlow()
515 EXPECT_EQ(9, a.Log2FloorNonZeroSlow(1023)); in TestLog2FloorNonZeroSlow()
516 EXPECT_EQ(10, a.Log2FloorNonZeroSlow(1024)); in TestLog2FloorNonZeroSlow()
517 EXPECT_EQ(10, a.Log2FloorNonZeroSlow(1025)); in TestLog2FloorNonZeroSlow()
573 TEST_F(GPUBFCAllocatorPrivateMethodsTest, Log2FloorNonZeroSlow) { in TEST_F() argument
/external/tensorflow/tensorflow/core/common_runtime/
Dbfc_allocator.h390 inline int Log2FloorNonZeroSlow(uint64 n) { in Log2FloorNonZeroSlow() function
408 return Log2FloorNonZeroSlow(n); in Log2FloorNonZero()