DeviceGEMVAPI

Trait DeviceGEMVAPI 

Source
pub trait DeviceGEMVAPI<TA, TB, TC>:
    DeviceAPI<TA>
    + DeviceAPI<TB>
    + DeviceAPI<TC>
where TA: Mul<TB, Output = TC>, TC: Mul<Output = TC> + Add<Output = TC>,
{ // Required methods fn gemv( &self, c: &mut Self::Raw, lc: &Layout<[usize; 1]>, a: &Self::Raw, la: &Layout<[usize; 2]>, b: &Self::Raw, lb: &Layout<[usize; 1]>, alpha: TC, beta: TC, ) -> Result<(), Error>; fn gevm( &self, c: &mut Self::Raw, lc: &Layout<[usize; 1]>, a: &Self::Raw, la: &Layout<[usize; 1]>, b: &Self::Raw, lb: &Layout<[usize; 2]>, alpha: TC, beta: TC, ) -> Result<(), Error>; }

Required Methods§

Source

fn gemv( &self, c: &mut Self::Raw, lc: &Layout<[usize; 1]>, a: &Self::Raw, la: &Layout<[usize; 2]>, b: &Self::Raw, lb: &Layout<[usize; 1]>, alpha: TC, beta: TC, ) -> Result<(), Error>

Source

fn gevm( &self, c: &mut Self::Raw, lc: &Layout<[usize; 1]>, a: &Self::Raw, la: &Layout<[usize; 1]>, b: &Self::Raw, lb: &Layout<[usize; 2]>, alpha: TC, beta: TC, ) -> Result<(), Error>

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§