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

Function PD_align16

paddle/phi/common/cpstring_impl.h:86–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84#endif // PD_PSTRING_LARGE_ENDIAN
85
86HOSTDEVICE static inline size_t PD_align16(size_t i) {
87 return (i + 0xF) & ~0xF;
88}
89
90HOSTDEVICE static inline size_t PD_max(size_t a, size_t b) {
91 return a > b ? a : b;

Callers 2

PD_PString_ReserveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected