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

Function PD_Free

paddle/phi/common/cpstring_impl.h:186–188  ·  view source on GitHub ↗

* Need to implement in other source file. */

Source from the content-addressed store, hash-verified

184 * Need to implement in other source file.
185 */
186HOSTDEVICE static inline void PD_Free(void *ptr, size_t size UNUSED) {
187 free(ptr);
188}
189
190HOSTDEVICE static inline void *PD_Memset(void *src, int ch, size_t size) {
191 char *dst = (char *)src; // NOLINT

Callers 2

PD_PString_DeallocFunction · 0.85

Calls 1

freeFunction · 0.85

Tested by

no test coverage detected