pub struct Binding {
pub memory: SliceBinding,
pub offset_start: Option<u64>,
pub offset_end: Option<u64>,
}
Expand description
Binding of a tensor handle to execute a kernel.
Fields§
§memory: SliceBinding
Memory binding.
offset_start: Option<u64>
Memory offset in bytes.
offset_end: Option<u64>
Memory offset in bytes.
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