Function _mm512_mask_reduce_add_epi32

#[target_feature(enable = "avx512f")]
pub const fn _mm512_mask_reduce_add_epi32(k: __mmask16, a: __m512i) -> i32

Reduce the packed 32-bit integers in a by addition using mask k. Returns the sum of all active elements in a.

Intel's documentation