Skip to main content

offset

Function offset 

Source
pub fn offset<T: RudaPrimitive>(
    input: T,
    output: &mut T,
    scratch: &mut SharedMemory<T>,
    distance: i32,
    threads: u32,
)
Expand description

Offset one scalar per thread. Out-of-block destinations preserve output.