pub struct FusedOpCaps {
pub metal_flash_attn: bool,
pub metal_swiglu: bool,
pub metal_matvec: bool,
pub cuda_gqa: bool,
}Expand description
Backend fused-op availability discovered at load / first probe.
Fields§
§metal_flash_attn: bool§metal_swiglu: bool§metal_matvec: bool§cuda_gqa: boolCUDA is deferred — kept for ABI stability, always false for now.
Trait Implementations§
Source§impl Clone for FusedOpCaps
impl Clone for FusedOpCaps
Source§fn clone(&self) -> FusedOpCaps
fn clone(&self) -> FusedOpCaps
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FusedOpCaps
Source§impl Debug for FusedOpCaps
impl Debug for FusedOpCaps
Source§impl Default for FusedOpCaps
impl Default for FusedOpCaps
Source§fn default() -> FusedOpCaps
fn default() -> FusedOpCaps
Returns the “default value” for a type. Read more
impl Eq for FusedOpCaps
Source§impl PartialEq for FusedOpCaps
impl PartialEq for FusedOpCaps
impl StructuralPartialEq for FusedOpCaps
Auto Trait Implementations§
impl Freeze for FusedOpCaps
impl RefUnwindSafe for FusedOpCaps
impl Send for FusedOpCaps
impl Sync for FusedOpCaps
impl Unpin for FusedOpCaps
impl UnsafeUnpin for FusedOpCaps
impl UnwindSafe for FusedOpCaps
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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