Skip to main content

composite

Function composite 

Source
pub fn composite<T: Numeric, C: Numeric>(
    samples: &Array<T>,
    histogram: &mut SharedMemory<Atomic<C>>,
    valid_items: usize,
    items_per_thread: usize,
)
Expand description

Add a blocked register tile to an existing shared histogram. Valid samples are integral bin indices in range; the backend must support atomic add on C.