pub struct TargetConfig {
pub optimization_target: OptimizationTarget,
pub enable_fma: bool,
pub enable_avx512: bool,
pub enable_avx10: bool,
pub enable_amx: bool,
pub enable_sve2: bool,
pub enable_sme: bool,
pub enable_fp16: bool,
pub enable_bf16: bool,
pub prefer_throughput: bool,
pub prefer_latency: bool,
}Expand description
Compile-time target configuration
Fields§
§optimization_target: OptimizationTarget§enable_fma: bool§enable_avx512: bool§enable_avx10: bool§enable_amx: bool§enable_sve2: bool§enable_sme: bool§enable_fp16: bool§enable_bf16: bool§prefer_throughput: bool§prefer_latency: boolTrait Implementations§
Source§impl Debug for TargetConfig
impl Debug for TargetConfig
Auto Trait Implementations§
impl Freeze for TargetConfig
impl RefUnwindSafe for TargetConfig
impl Send for TargetConfig
impl Sync for TargetConfig
impl Unpin for TargetConfig
impl UnsafeUnpin for TargetConfig
impl UnwindSafe for TargetConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more