Skip to main content

fused_masks

Function fused_masks 

Source
pub fn fused_masks(
    grid: &CellGrid,
    assign: &[u32],
    point_cell: &[u32],
    parts: u32,
    width: [u32; 3],
) -> Result<Vec<RankMask>, Error>
Expand description

Paint each rank’s halo while walking the cells that rank owns.

The owned lists come from one shared pass over the assignment. Each rank then paints its stencil from those cells and reads the point bins already stored on the cut. The ghost count matches halo.