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() override { return true; } in TracksAllocationSizes() function in tensorflow::TestableSizeTrackingAllocator
60 bool TracksAllocationSizes() 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() { in TracksAllocationSizes() function in tensorflow::TrackingAllocator
113 return track_sizes_locally_ || allocator_->TracksAllocationSizes(); in TracksAllocationSizes()
Dallocator.h150 virtual bool TracksAllocationSizes() { return false; } in TracksAllocationSizes() function
200 if (TracksAllocationSizes()) { in AllocatedSizeSlow()
311 bool TracksAllocationSizes() override { in TracksAllocationSizes() function
312 return wrapped_->TracksAllocationSizes(); in TracksAllocationSizes()
316 return wrapped_->TracksAllocationSizes(); in ShouldAllocateEmptyTensors()
Dtracking_allocator.h65 bool TracksAllocationSizes() override;
Dallocator_test.cc152 EXPECT_EQ(false, a->TracksAllocationSizes()); in TEST()
Dallocator.cc218 if (cpu_allocator_collect_full_stats && !cpu_alloc->TracksAllocationSizes()) { in cpu_allocator_base()
Dop_kernel.cc750 if (a->TracksAllocationSizes()) { in allocate_temp()
773 if (a->TracksAllocationSizes()) { in allocate_persistent()
Dtensor.cc82 if (alloc_->TracksAllocationSizes()) { in FillAllocationDescription()
/external/tensorflow/tensorflow/core/common_runtime/
Dprocess_state.h130 bool TracksAllocationSizes() override { return a_->TracksAllocationSizes(); } in TracksAllocationSizes() function
Dscoped_allocator.h106 bool TracksAllocationSizes() override { return false; } in TracksAllocationSizes() function
Dprocess_state.cc112 if (LogMemory::IsEnabled() && !allocator->TracksAllocationSizes()) { in GetCPUAllocator()
Dbfc_allocator.h64 bool TracksAllocationSizes() override;
Dbfc_allocator.cc525 bool BFCAllocator::TracksAllocationSizes() { return true; } in TracksAllocationSizes() function in tensorflow::BFCAllocator
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_cudamalloc_allocator.h40 bool TracksAllocationSizes() override;
Dgpu_cudamalloc_allocator.cc64 bool GPUcudaMallocAllocator::TracksAllocationSizes() { return false; } in TracksAllocationSizes() function in tensorflow::GPUcudaMallocAllocator
Dgpu_debug_allocator.h42 bool TracksAllocationSizes() override;
Dgpu_debug_allocator.cc117 bool GPUDebugAllocator::TracksAllocationSizes() { return true; } in TracksAllocationSizes() function in tensorflow::GPUDebugAllocator
Dgpu_debug_allocator_test.cc231 EXPECT_EQ(true, a.TracksAllocationSizes()); in TEST()
Dgpu_process_state.cc247 if (LogMemory::IsEnabled() && !allocator->TracksAllocationSizes()) { in GetGpuHostAllocator()
Dgpu_bfc_allocator_test.cc202 EXPECT_EQ(true, a.TracksAllocationSizes()); in TEST()
/external/tensorflow/tensorflow/core/common_runtime/sycl/
Dsycl_allocator.h50 bool TracksAllocationSizes() override { return true; } in TracksAllocationSizes() function
/external/tensorflow/tensorflow/core/grappler/clusters/
Dsingle_machine.cc231 if (!allocator->TracksAllocationSizes()) { in GetPeakMemoryUsage()
459 if (!allocator->TracksAllocationSizes()) { in ClearAllocatorStats()