OpAssignArbitaryAPI

Trait OpAssignArbitaryAPI 

Source
pub trait OpAssignArbitaryAPI<TC, DC, DA, TA = TC>:
    DeviceRawAPI<TA>
    + DeviceRawAPI<TC>
    + DeviceRawAPI<MaybeUninit<TC>>
where DC: DimAPI, DA: DimAPI,
{ // Required methods fn assign_arbitary( &self, c: &mut Self::Raw, lc: &Layout<DC>, a: &Self::Raw, la: &Layout<DA>, ) -> Result<(), Error>; fn assign_arbitary_uninit( &self, c: &mut Self::Raw, lc: &Layout<DC>, a: &Self::Raw, la: &Layout<DA>, ) -> Result<(), Error>; }

Required Methods§

Source

fn assign_arbitary( &self, c: &mut Self::Raw, lc: &Layout<DC>, a: &Self::Raw, la: &Layout<DA>, ) -> Result<(), Error>

Element-wise assignment in col-major order, without no promise that input layouts are broadcastable.

Source

fn assign_arbitary_uninit( &self, c: &mut Self::Raw, lc: &Layout<DC>, a: &Self::Raw, la: &Layout<DA>, ) -> 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§

Source§

impl<TC, DC, DA, TA> OpAssignArbitaryAPI<TC, DC, DA, TA> for DeviceCpuSerial
where TC: Clone, TA: Clone + DTypeCastAPI<TC>, DC: DimAPI, DA: DimAPI,

Source§

impl<TC, TA, DC, DA> OpAssignArbitaryAPI<TC, DC, DA, TA> for DeviceOpenBLAS
where TC: Clone + Send + Sync, TA: Clone + Send + Sync + DTypeCastAPI<TC>, DC: DimAPI, DA: DimAPI,