pub fn padding_to_alignment(size: usize) -> usize
Compute padding needed to align a size to the tile alignment boundary.