Trait collenchyma::device::IDeviceSyncOut [] [src]

pub trait IDeviceSyncOut<T: IMemory> {
    type M: IMemory;
    fn sync_out(&self, source_data: &Self::M, dest_data: &mut T) -> Result<(), Error>;
}
[]

Specifies Sync out behavior across frameworks.

Associated Types

type M: IMemory[]

The Memory representation for this Device.

Required Methods

fn sync_out(&self, source_data: &Self::M, dest_data: &mut T) -> Result<(), Error>[]

Synchronizes memory from source_data to dest_data.

Implementors