Function gpu_alloc::align_up

source ยท
pub(crate) fn align_up(value: u64, align_mask: u64) -> Option<u64>
Expand description

Aligns value up to align_mask Returns smallest integer not lesser than value aligned by align_mask. Returns None on overflow.