Trait DeviceInnerDotAPI

Source
pub trait DeviceInnerDotAPI<TA, TB, TC>
where TA: Mul<TB, Output = TC>, TC: Mul<TC, Output = TC> + Add<TC, Output = TC>, Self: DeviceAPI<TA> + DeviceAPI<TB> + DeviceAPI<TC>,
{ // Required method fn inner_dot( &self, c: &mut <Self as DeviceRawAPI<TC>>::Raw, lc: &Layout<Ix0>, a: &<Self as DeviceRawAPI<TA>>::Raw, la: &Layout<Ix1>, b: &<Self as DeviceRawAPI<TB>>::Raw, lb: &Layout<Ix1>, alpha: TC, beta: TC, ) -> Result<()>; }

Required Methods§

Source

fn inner_dot( &self, c: &mut <Self as DeviceRawAPI<TC>>::Raw, lc: &Layout<Ix0>, a: &<Self as DeviceRawAPI<TA>>::Raw, la: &Layout<Ix1>, b: &<Self as DeviceRawAPI<TB>>::Raw, lb: &Layout<Ix1>, alpha: TC, beta: TC, ) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<TA, TB, TC> DeviceInnerDotAPI<TA, TB, TC> for DeviceCpuSerial
where TA: Clone + Mul<TB, Output = TC>, TB: Clone, TC: Clone + Mul<TC, Output = TC> + Add<TC, Output = TC>,