pub trait DeviceGEMVAPI<TA, TB, TC>:
DeviceAPI<TA>
+ DeviceAPI<TB>
+ DeviceAPI<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§
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>
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.