pub struct Sub;Trait Implementations§
Source§impl BinaryOpT for Sub
impl BinaryOpT for Sub
const NAME: &'static str = "sub"
const KERNEL: &'static str = "bsub"
const V: Self = Sub
fn bf16(v1: bf16, v2: bf16) -> bf16
fn f16(v1: f16, v2: f16) -> f16
fn f32(v1: f32, v2: f32) -> f32
fn f64(v1: f64, v2: f64) -> f64
fn u8(v1: u8, v2: u8) -> u8
fn u32(v1: u32, v2: u32) -> u32
fn i16(v1: i16, v2: i16) -> i16
fn i32(v1: i32, v2: i32) -> i32
fn i64(v1: i64, v2: i64) -> i64
fn f8e4m3(v1: f8e4m3, v2: f8e4m3) -> f8e4m3
const BF16_VEC: bool = false
fn bf16_vec(_xs1: &[bf16], _xs2: &[bf16], _ys: &mut [bf16])
const F16_VEC: bool = false
fn f16_vec(_xs1: &[f16], _xs2: &[f16], _ys: &mut [f16])
const F32_VEC: bool = false
fn f32_vec(_xs1: &[f32], _xs2: &[f32], _ys: &mut [f32])
const F64_VEC: bool = false
fn f64_vec(_xs1: &[f64], _xs2: &[f64], _ys: &mut [f64])
const U8_VEC: bool = false
fn u8_vec(_xs1: &[u8], _xs2: &[u8], _ys: &mut [u8])
const U32_VEC: bool = false
fn u32_vec(_xs1: &[u32], _xs2: &[u32], _ys: &mut [u32])
const I64_VEC: bool = false
fn i64_vec(_xs1: &[i64], _xs2: &[i64], _ys: &mut [i64])
Auto Trait Implementations§
impl Freeze for Sub
impl RefUnwindSafe for Sub
impl Send for Sub
impl Sync for Sub
impl Unpin for Sub
impl UnwindSafe for Sub
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> 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