plane_shuffle_down

Function plane_shuffle_down 

Source
pub fn plane_shuffle_down<E: CubePrimitive>(value: E, delta: u32) -> E
Expand description

Perform a shuffle down operation across the plane. Each unit reads the value from a unit with a higher lane ID (current_id + delta). Units at the end will read from themselves if (lane_id + delta >= plane_dim).

ยงExample

For delta=1: [a, b, c, d] -> [b, c, d, d]