Skip to main content

Avx512Support

Trait Avx512Support 

Source
pub trait Avx512Support {
    // Required method
    fn has_avx512() -> bool;
}
Expand description

Trait for querying runtime AVX-512 support for specific element types.

Required Methods§

Source

fn has_avx512() -> bool

Returns true if the current CPU supports AVX-512 extensions/fallbacks for this type.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Avx512Support for i8

Implementors§