pub struct CarrierExport {
pub slice: Arc<TrackedCudaSlice<u8>>,
pub stream: Arc<CudaStream>,
pub elem_bytes: usize,
pub rows: usize,
pub cols: usize,
}Expand description
One buffer exported outward while xlog retains ownership. The
binding layer wraps slice in a real DLPack capsule via
CudaColumn::dlpack_xlog_owned; the shared Arc keeps the
runtime identity alive, so strict launch recorders keep recording
the exported view instead of rejecting it.
Fields§
§slice: Arc<TrackedCudaSlice<u8>>The runtime-backed allocation, shared with the carrier.
stream: Arc<CudaStream>The stream the export synchronizes against.
elem_bytes: usizeElement width in bytes (8 for u64 buffers, 4 for u32/f32).
rows: usizeLogical row count of the 2-D view.
cols: usizeLogical column count of the 2-D view.
Auto Trait Implementations§
impl Freeze for CarrierExport
impl RefUnwindSafe for CarrierExport
impl Send for CarrierExport
impl Sync for CarrierExport
impl Unpin for CarrierExport
impl UnsafeUnpin for CarrierExport
impl UnwindSafe for CarrierExport
Blanket Implementations§
impl<T> Allocation for T
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