pub struct Binding {
    pub memory: SliceBinding,
    pub offset_start: Option<u64>,
    pub offset_end: Option<u64>,
    pub stream: StreamId,
    pub cursor: u64,
    /* private fields */
}Expand description
Binding of a tensor handle to execute a kernel.
Fields§
§memory: SliceBindingMemory binding.
offset_start: Option<u64>Memory offset in bytes.
offset_end: Option<u64>Memory offset in bytes.
stream: StreamIdThe stream where the data was created.
cursor: u64The stream position when the tensor became available.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Binding
impl RefUnwindSafe for Binding
impl Send for Binding
impl Sync for Binding
impl Unpin for Binding
impl UnwindSafe for Binding
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