NMOD_VEC_SIMD_MIN_LEN
Synopsis
#include <flint/nmod_vec.h>NMOD_VEC_SIMD_MIN_LENsourceThe length from which _nmod_vec_reduce, _nmod_vec_mul, _nmod_vec_scalar_mul_nmod, _nmod_vec_scalar_addmul_nmod and their lazy variants run their vector kernels (SIMD kernels of the element-wise operations): 8, or with AVX-512 FLINT_NMOD_VEC_AVX512_MIN_LEN of flint-mparam.h, which is 16 on Intel processors. A caller with short vectors can keep an inline loop below this length.
Guides#
Cite this page
The FLINT team, “NMOD_VEC_SIMD_MIN_LEN (nmod_vec.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod_vec/NMOD_VEC_SIMD_MIN_LEN.html (generated 2026-11-20).
@misc{flint-doc-nmod-vec-NMOD-VEC-SIMD-MIN-LEN,
author = {{The FLINT team}},
title = {{NMOD\_VEC\_SIMD\_MIN\_LEN (nmod\_vec.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nmod_vec/NMOD_VEC_SIMD_MIN_LEN.html},
note = {Generated 2026-11-20}
}