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

Function PD_Memset

paddle/phi/common/cpstring_impl.h:190–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190HOSTDEVICE static inline void *PD_Memset(void *src, int ch, size_t size) {
191 char *dst = (char *)src; // NOLINT
192 for (size_t i = 0; i < size; ++i) {
193 dst[i] = ch;
194 }
195 return dst;
196}
197
198HOSTDEVICE static inline void *PD_Memcpy(void *dst,
199 const void *src,

Callers 3

PD_PString_InitFunction · 0.85
PD_PString_ResizeFunction · 0.85
pstring.hFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected