pub struct MemcpyOp {
pub src: GpuRef<f32>,
pub dst: GpuRef<f32>,
}Expand description
Memcpy op (host-side cudaMemcpyAsync device-to-device on the
captured stream). Capture-safe.
Fields§
§src: GpuRef<f32>§dst: GpuRef<f32>Auto Trait Implementations§
impl Freeze for MemcpyOp
impl !RefUnwindSafe for MemcpyOp
impl Send for MemcpyOp
impl Sync for MemcpyOp
impl Unpin for MemcpyOp
impl UnsafeUnpin for MemcpyOp
impl !UnwindSafe for MemcpyOp
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more