Skip to main content

get_cpu_ext_level

Function get_cpu_ext_level 

Source
pub fn get_cpu_ext_level() -> i32
Expand description

Detects the highest supported x86-64 SIMD level at runtime.

On non-x86 targets this always returns CpuExtLevel::Generic as i32.