Skip to main content

dispatch_view

Function dispatch_view 

Source
pub fn dispatch_view<'a, T, Align>(
    data: &'a [T],
) -> Option<DispatchedView<'a, T, Align, Unmasked, &'a [T]>>
where T: FloatElement, Align: Alignment,
Expand description

Dispatches a shared slice into the best matching DispatchedView based on runtime CPU feature detection.