has_avx2

Function has_avx2 

Source
pub fn has_avx2() -> bool
Expand description

Do a rutime check for AVX2 support (x86 and x86_64 only).

This is a specialized subcase of the is_x86_feature_detected macro, except that this function is compatible with no_std builds.