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

Method Free

tensorflow/core/common_runtime/pool_allocator.cc:273–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

271}
272
273void BasicCPUAllocator::Free(void* ptr, size_t num_bytes) {
274 if (num_bytes > 0) {
275 VisitFree(ptr, numa_node_, num_bytes);
276 if (numa_node_ == port::kNUMANoAffinity) {
277 port::AlignedFree(ptr);
278 } else {
279 port::NUMAFree(ptr, num_bytes);
280 }
281 }
282}
283} // namespace tensorflow

Callers 8

~BFCAllocatorMethod · 0.45
EXCLUSIVE_LOCKS_REQUIREDFunction · 0.45
BeginStepMethod · 0.45
DeallocateRawMethod · 0.45
DeallocateRawMethod · 0.45
ClearMethod · 0.45
EvictOneMethod · 0.45

Calls 2

AlignedFreeFunction · 0.50
NUMAFreeFunction · 0.50

Tested by

no test coverage detected