MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / CollectDone

Method CollectDone

tensorflow/core/common_runtime/gpu_memory_planner.cc:130–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130void GPUMemoryPlanner::CollectDone() {
131 Schedule([this]() {
132 if (allocator_ != nullptr) {
133 allocator_->Init();
134 }
135 Cleanup();
136 inited_ = true;
137 });
138}
139
140void GPUMemoryPlanner::Cleanup() {
141 for (auto policy : lifetime_stats_polices_) {

Callers

nothing calls this directly

Calls 2

CleanupClass · 0.50
InitMethod · 0.45

Tested by

no test coverage detected