Skip to content
API REFERENCEUsage guides →

cellpack::runtime::KernelCap ​

enum

Module contract · All interfaces

At a glance ​

pub enum KernelCap {
    Auto,
    At(Isa),
}

The most capable kernel set a process may use.

Fields and variants ​

Auto ​

Auto

The best set this CPU supports.

At ​

At(Isa)

At most this set.

Member index ​

1 of 1 members

  • parseParses scalar , avx2 or avx512 , ignoring surrounding whitespace.

Methods and associated constants ​

parse ​

pub fn parse(s: &str) -> Result<Self>

Parses scalar, avx2 or avx512, ignoring surrounding whitespace.

Implemented traits ​

impl Clone for KernelCap
impl Debug for KernelCap

Contract reference ​

See the module reference for semantic input/output rules, units, allocation, mutation, failure behavior, and lifetime requirements. Declarations and documented members are synchronized from the crate source.

Definition