cmp_bitmask_simd

Function cmp_bitmask_simd 

Source
pub fn cmp_bitmask_simd<const LANES: usize>(
    lhs: BitmaskVT<'_>,
    rhs: BitmaskVT<'_>,
    mask: Option<BitmaskVT<'_>>,
    op: ComparisonOperator,
) -> Result<Bitmask, KernelError>
Expand description

SIMD-accelerated compare bitmask

Compare two packed bool bitmask slices over a window, using the given operator. The offsets are bit offsets into each mask. The mask, if provided, is ANDed after the comparison. Requires that all offsets are 64-bit aligned (i.e., offset % 64 == 0).

This lower level kernel can be orchestrated by apply_cmp_bool which wraps it into a BoolWindow with null-aware semantics.