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.cc538 EXPECT_EQ(-1, a.Log2FloorNonZeroSlow(0)); in TestLog2FloorNonZeroSlow()
539 EXPECT_EQ(0, a.Log2FloorNonZeroSlow(1)); in TestLog2FloorNonZeroSlow()
540 EXPECT_EQ(1, a.Log2FloorNonZeroSlow(2)); in TestLog2FloorNonZeroSlow()
541 EXPECT_EQ(1, a.Log2FloorNonZeroSlow(3)); in TestLog2FloorNonZeroSlow()
542 EXPECT_EQ(9, a.Log2FloorNonZeroSlow(1023)); in TestLog2FloorNonZeroSlow()
543 EXPECT_EQ(10, a.Log2FloorNonZeroSlow(1024)); in TestLog2FloorNonZeroSlow()
544 EXPECT_EQ(10, a.Log2FloorNonZeroSlow(1025)); in TestLog2FloorNonZeroSlow()
587 TEST_P(GPUBFCAllocatorPrivateMethodsTest, Log2FloorNonZeroSlow) { in TEST_P() argument
/external/tensorflow/tensorflow/core/common_runtime/
Dbfc_allocator.h525 inline int Log2FloorNonZeroSlow(uint64 n) { in Log2FloorNonZeroSlow() function
543 return Log2FloorNonZeroSlow(n); in Log2FloorNonZero()