Home
last modified time | relevance | path

Searched refs:TracksAllocationSizes (Results 1 – 22 of 22) 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.h156 virtual bool TracksAllocationSizes() const { return false; } in TracksAllocationSizes() function
217 if (TracksAllocationSizes()) { in AllocatedSizeSlow()
258 bool TracksAllocationSizes() const override { in TracksAllocationSizes() function
259 return wrapped_->TracksAllocationSizes(); in TracksAllocationSizes()
Dallocator.cc74 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.cc840 if (a->TracksAllocationSizes()) { in allocate_temp()
876 if (a->TracksAllocationSizes()) { in allocate_persistent()
/external/tensorflow/tensorflow/core/common_runtime/
Dprocess_state.h131 bool TracksAllocationSizes() const override { in TracksAllocationSizes() function
132 return a_->TracksAllocationSizes(); in TracksAllocationSizes()
Dscoped_allocator.h109 bool TracksAllocationSizes() const override { return false; } in TracksAllocationSizes() function
Dprocess_state.cc112 if (LogMemory::IsEnabled() && !allocator->TracksAllocationSizes()) { in GetCPUAllocator()
Dbfc_allocator.h68 bool TracksAllocationSizes() const override;
Dbfc_allocator.cc819 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.cc117 bool GPUDebugAllocator::TracksAllocationSizes() const { return true; } in TracksAllocationSizes() function in tensorflow::GPUDebugAllocator
Dgpu_debug_allocator_test.cc236 EXPECT_EQ(true, a.TracksAllocationSizes()); in TEST()
Dgpu_process_state.cc258 if (LogMemory::IsEnabled() && !allocator->TracksAllocationSizes()) { in GetGpuHostAllocator()
Dgpu_bfc_allocator_test.cc205 EXPECT_EQ(true, a.TracksAllocationSizes()); in TEST()
/external/tensorflow/tensorflow/core/common_runtime/sycl/
Dsycl_allocator.h50 bool TracksAllocationSizes() const override { return true; } in TracksAllocationSizes() function
/external/tensorflow/tensorflow/core/grappler/clusters/
Dsingle_machine.cc228 if (!allocator->TracksAllocationSizes()) { in GetPeakMemoryUsage()
456 if (!allocator->TracksAllocationSizes()) { in ClearAllocatorStats()