Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/common_runtime/
Dbfc_allocator.h209 class AllocationRegion {
211 AllocationRegion(void* ptr, size_t memory_size) in AllocationRegion() function
225 AllocationRegion() = default;
226 AllocationRegion(AllocationRegion&& other) { Swap(other); } in AllocationRegion() function
227 AllocationRegion& operator=(AllocationRegion&& other) {
242 void Swap(AllocationRegion& other) { in Swap()
267 TF_DISALLOW_COPY_AND_ASSIGN(AllocationRegion);
284 regions_.insert(entry, AllocationRegion(ptr, memory_size)); in AddAllocationRegion()
296 const std::vector<AllocationRegion>& regions() const { return regions_; } in regions()
299 static bool Comparator(const void* ptr, const AllocationRegion& other) { in Comparator()
[all …]