Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
52
size_t align_to(size_t n, size_t align) {
53
return (((n - 1) / align) + 1) * align;
54
}
55
} // namespace
56
57
namespace cpu_function_runtime {
Callers
2
AlignedBufferBytes
Function · 0.85
MallocContiguousBuffers
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected