Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/common_runtime/
Dbfc_allocator.h279 class AllocationRegion {
281 AllocationRegion(void* ptr, size_t memory_size) in AllocationRegion() function
292 AllocationRegion() = default;
293 AllocationRegion(AllocationRegion&& other) { Swap(&other); } in AllocationRegion() function
294 AllocationRegion& operator=(AllocationRegion&& other) {
318 void Swap(AllocationRegion* other) { in Swap()
343 TF_DISALLOW_COPY_AND_ASSIGN(AllocationRegion);
360 regions_.insert(entry, AllocationRegion(ptr, memory_size)); in AddAllocationRegion()
367 AllocationRegion* AddOrExtendAllocationRegion(void* ptr, in AddOrExtendAllocationRegion()
390 regions_.insert(entry, AllocationRegion(ptr, memory_size)); in AddOrExtendAllocationRegion()
[all …]
Dbfc_allocator.cc163 AllocationRegion* maybe_extended_region = nullptr; in Extend()
307 for (const AllocationRegion& region : region_manager_.regions()) { in DeallocateFreeRegions()
360 const_cast<std::vector<AllocationRegion>*>(&region_manager_.regions()); in DeallocateRegions()