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

Method resize_uninitialized

paddle/phi/common/pstring.h:299–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297}
298
299HOSTDEVICE inline void pstring::resize_uninitialized(size_t new_size) {
300 PD_PString_ResizeUninitialized(&pstr_, new_size);
301}
302
303HOSTDEVICE inline void pstring::clear() noexcept {
304 PD_PString_ResizeUninitialized(&pstr_, 0);

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected