Skip to main content

shift_access

Function shift_access 

Source
pub fn shift_access<T: RudaType<ExpandType: Assign> + Copy, I: RudaRead<T>, W: RudaWrite<T>, S: RudaWrite<T>>(
    input: &I,
    output: &mut W,
    scratch: &mut S,
    threads: usize,
    items: usize,
    down: bool,
) -> T
Expand description

Shift records in blocked order. The unpaired output item is unchanged; return the discarded prefix (down) or suffix (up) to every thread.