pub trait DeviceCuPool<T>: CuPool<T>where
T: ArrayLike,{
// Required method
fn copy_to_host_pool<O>(
&self,
from_device_handle: &CuHandle<T>,
to_host_handle: &mut CuHandle<O>,
) -> Result<(), CuError>
where O: ArrayLike<Element = <T as ArrayLike>::Element>;
}
Expand description
A device memory pool can copy data from a device to a host memory pool on top.
Required Methods§
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.