pub trait ToHost<T, D>where
T: GpuDataType,
D: Dimension,{
// Required method
fn to_host(&self, manager: &CrossDeviceManager) -> CoreResult<Array<T, D>>;
}Expand description
Extension trait for device arrays to simplify host transfers
Required Methods§
Sourcefn to_host(&self, manager: &CrossDeviceManager) -> CoreResult<Array<T, D>>
fn to_host(&self, manager: &CrossDeviceManager) -> CoreResult<Array<T, D>>
Transfer the device array to the host