MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / FreeImpl

Method FreeImpl

paddle/phi/core/memory/allocation/allocator.cc:21–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19namespace paddle::memory::allocation {
20
21void Allocator::FreeImpl(phi::Allocation* allocation) {
22 static_cast<Allocation*>(allocation)
23 ->TopDecoratedAllocator()
24 ->Free(allocation);
25}
26
27void MultiScalePoolAllocator::RecordAlloc(uintptr_t allocator,
28 uint64_t id,

Callers

nothing calls this directly

Calls 2

TopDecoratedAllocatorMethod · 0.80
FreeMethod · 0.45

Tested by

no test coverage detected