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

Function Alloc

paddle/phi/core/memory/malloc.cc:28–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28AllocationPtr Alloc(const Place& place, size_t size) {
29 return allocation::AllocatorFacade::Instance().Alloc(place, size);
30}
31
32uint64_t Release(const Place& place) {
33 return allocation::AllocatorFacade::Instance().Release(place);

Callers 15

AllocMethod · 0.50
CopyCPUDataToCUDAHelperFunction · 0.50
AllocSharedMethod · 0.50
AllocMethod · 0.50
AllocateImplMethod · 0.50
CubExclusiveScanFunction · 0.50
launchFunction · 0.50
LayerNormBackwardFunction · 0.50
CubInclusiveScanFunction · 0.50
GetDevicePointerArrayFunction · 0.50

Calls 2

InstanceFunction · 0.85
AllocMethod · 0.45

Tested by

no test coverage detected