Expand description
§Utility Functions - SIMD Processing and Memory Management Utilities
Core utilities supporting SIMD kernel implementations with efficient memory handling, bitmask operations, and performance-critical helper functions.
Functions§
- bitmask_
to_ simd_ mask - Extracts a core::SIMD
Mask<M, N>for a batch of N lanes from a MinarrowBitmask. - has_
nulls - Determines whether nulls are present given an optional null count and mask reference. Avoids computing mask cardinality to preserve performance guarantees.
- simd_
mask_ to_ bitmask - Converts a SIMD
Mask<M, N>to a MinarrowBitmaskfor the given logical length. Used at the end of a block operation within SIMD-accelerated kernel functions. - write_
global_ bitmask_ block - Bulk-ORs a local bitmask block (from a SIMD mask or similar) into the global Minarrow bitmask at the correct byte offset.
The block (
block_mask) is expected to contain at least ceil(n_lanes/8) bytes, with the bit-packed validity bits starting from position 0.