pub trait Gemv<T> {
// Required method
unsafe fn gemv<A: DevicePtr<T>, X: DevicePtr<T>, Y: DevicePtrMut<T>>(
&self,
cfg: GemvConfig<T>,
a: &A,
x: &X,
y: &mut Y,
) -> Result<(), CublasError>;
}
Expand description
Matrix vector multiplication with elements of type T
Required Methods§
sourceunsafe fn gemv<A: DevicePtr<T>, X: DevicePtr<T>, Y: DevicePtrMut<T>>(
&self,
cfg: GemvConfig<T>,
a: &A,
x: &X,
y: &mut Y,
) -> Result<(), CublasError>
unsafe fn gemv<A: DevicePtr<T>, X: DevicePtr<T>, Y: DevicePtrMut<T>>( &self, cfg: GemvConfig<T>, a: &A, x: &X, y: &mut Y, ) -> Result<(), CublasError>
Matrix vector multiplication.
§Safety
This is unsafe because improper arguments may lead to invalid memory accesses.
Object Safety§
This trait is not object safe.