Searched refs:allocs_ (Results 1 – 6 of 6) sorted by relevance
64 allocs_.clear(); in ResetAllocations()65 allocs_.resize(graph_info_->num_tensors()); in ResetAllocations()70 for (int i = 0; i < static_cast<int>(allocs_.size()); ++i) { in ResetAllocationsAfter()71 if (allocs_[i].first_node > node && allocs_[i].size > 0) { in ResetAllocationsAfter()74 TF_LITE_ENSURE_STATUS(arena_.Deallocate(context_, allocs_[i])); in ResetAllocationsAfter()75 allocs_[i].reset(); in ResetAllocationsAfter()193 TF_LITE_ENSURE(context_, graph_info_->num_tensors() >= allocs_.size()); in ExecuteAllocations()196 allocs_.resize(graph_info_->num_tensors()); in ExecuteAllocations()312 allocs_[tensor_index].size != 0) { in CalculateAllocations()313 TF_LITE_ENSURE_STATUS(arena_.Deallocate(context_, allocs_[tensor_index])); in CalculateAllocations()[all …]
105 std::vector<ArenaAllocWithUsageInterval> allocs_; variable
63 allocs_.emplace_front(tuple); in Register()64 if (alloc_map_.emplace(handle, allocs_.begin()).second) { in Register()69 allocs_.erase(allocs_.begin()); in Register()79 allocs_.erase(it->second); in Release()91 allocs_.splice(allocs_.begin(), allocs_, it->second); in Lookup()98 allocs_.clear(); in Clear()119 for (auto it = allocs_.begin(); it != allocs_.end(); ++it) { in CompactAllocations()156 for (auto it = allocs_.rbegin(); it != allocs_.rend(); ++it) { in TryFreeMemory()183 AllocList allocs_; member in tensorflow::XRTMemoryManager::DeviceContext
71 static const size_t allocs_##name[] = {__VA_ARGS__}; \72 test(#name, init_size, allocs_##name, GPR_ARRAY_SIZE(allocs_##name))
18778 <!-- SysAllocator* DefaultSysAllocator::allocs_[2] -->18779 …<var-decl name='allocs_' type-id='type-id-1541' visibility='default' filepath='src/system-alloc.cc…
11588 …<var-decl name='allocs_' type-id='type-id-1541' visibility='default' filepath='src/system-alloc.cc…