MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / align_to

Function align_to

tensorflow/compiler/xla/cpu_function_runtime.cc:52–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52size_t align_to(size_t n, size_t align) {
53 return (((n - 1) / align) + 1) * align;
54}
55} // namespace
56
57namespace cpu_function_runtime {

Callers 2

AlignedBufferBytesFunction · 0.85
MallocContiguousBuffersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected