Home
last modified time | relevance | path

Searched refs:TracksAllocationSizes (Results 1 – 21 of 21) sorted by relevance

/external/tensorflow/tensorflow/core/framework/
Dtracking_allocator_test.cc41 bool TracksAllocationSizes() const override { return true; } in TracksAllocationSizes() function in tensorflow::TestableSizeTrackingAllocator
60 bool TracksAllocationSizes() const override { return true; } in TracksAllocationSizes() function in tensorflow::NoMemoryAllocator
67 EXPECT_FALSE(a->TracksAllocationSizes()); in TEST()
119 EXPECT_TRUE(a.TracksAllocationSizes()); in TEST()
145 EXPECT_TRUE(a.TracksAllocationSizes()); in TEST()
164 EXPECT_TRUE(a.TracksAllocationSizes()); in TEST()
Dtracking_allocator.cc29 track_sizes_locally_(track_sizes && !allocator_->TracksAllocationSizes()), in TrackingAllocator()
41 if (allocator_->TracksAllocationSizes()) { in AllocateRaw()
83 bool tracks_allocation_sizes = allocator_->TracksAllocationSizes(); in DeallocateRaw()
112 bool TrackingAllocator::TracksAllocationSizes() const { in TracksAllocationSizes() function in tensorflow::TrackingAllocator
113 return track_sizes_locally_ || allocator_->TracksAllocationSizes(); in TracksAllocationSizes()
Dallocator.h215 virtual bool TracksAllocationSizes() const { return false; } in TracksAllocationSizes() function
276 if (TracksAllocationSizes()) { in AllocatedSizeSlow()
317 bool TracksAllocationSizes() const override { in TracksAllocationSizes() function
318 return wrapped_->TracksAllocationSizes(); in TracksAllocationSizes()
Dallocator.cc75 if (cpu_allocator_collect_full_stats && !cpu_alloc->TracksAllocationSizes()) { in cpu_allocator_base()
Dtracking_allocator.h64 bool TracksAllocationSizes() const override;
Dallocator_test.cc201 EXPECT_EQ(false, a->TracksAllocationSizes()); in TEST()
Dtensor.cc90 if (alloc_->TracksAllocationSizes()) { in GetAllocatedBytes()
104 if (alloc_->TracksAllocationSizes()) { in FillAllocationDescription()
Dop_kernel.cc801 if (a->TracksAllocationSizes()) { in allocate_temp()
839 if (a->TracksAllocationSizes()) { in allocate_persistent()
/external/tensorflow/tensorflow/core/common_runtime/
Dprocess_state.h138 bool TracksAllocationSizes() const override { in TracksAllocationSizes() function
139 return a_->TracksAllocationSizes(); in TracksAllocationSizes()
Dscoped_allocator.h109 bool TracksAllocationSizes() const override { return false; } in TracksAllocationSizes() function
Dprocess_state.cc120 if (LogMemory::IsEnabled() && !allocator->TracksAllocationSizes()) { in GetCPUAllocator()
Dbfc_allocator.h68 bool TracksAllocationSizes() const override;
Dbfc_allocator.cc885 bool BFCAllocator::TracksAllocationSizes() const { return true; } in TracksAllocationSizes() function in tensorflow::BFCAllocator
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_cudamalloc_allocator.h40 bool TracksAllocationSizes() const override;
Dgpu_cudamalloc_allocator.cc68 bool GPUcudaMallocAllocator::TracksAllocationSizes() const { return false; } in TracksAllocationSizes() function in tensorflow::GPUcudaMallocAllocator
Dgpu_debug_allocator.h42 bool TracksAllocationSizes() const override;
Dgpu_debug_allocator.cc118 bool GPUDebugAllocator::TracksAllocationSizes() const { return true; } in TracksAllocationSizes() function in tensorflow::GPUDebugAllocator
Dgpu_debug_allocator_test.cc237 EXPECT_EQ(true, a.TracksAllocationSizes()); in TEST()
Dgpu_process_state.cc316 if (LogMemory::IsEnabled() && !allocator->TracksAllocationSizes()) { in GetGpuHostAllocator()
Dgpu_bfc_allocator_test.cc235 EXPECT_EQ(true, a.TracksAllocationSizes()); in TEST_P()
/external/tensorflow/tensorflow/core/grappler/clusters/
Dsingle_machine.cc228 if (!allocator->TracksAllocationSizes()) { in GetPeakMemoryUsage()
456 if (!allocator->TracksAllocationSizes()) { in ClearAllocatorStats()