Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaddlePaddle/Paddle
/ PD_Malloc
Function
PD_Malloc
paddle/phi/common/cpstring_impl.h:207–207 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
205
}
206
207
HOSTDEVICE static inline void *PD_Malloc(size_t size) { return malloc(size); }
208
209
HOSTDEVICE static inline void *PD_Realloc(void *ptr,
210
size_t old_size UNUSED,
Callers
2
PD_PString_ResizeUninitialized
Function · 0.85
PD_PString_Reserve
Function · 0.85
Calls
1
malloc
Function · 0.85
Tested by
no test coverage detected