pub struct MetadataBindingInfo {
pub data: Vec<u64>,
pub dynamic_metadata_offset: usize,
}Expand description
Binding of a set of scalars of the same type to execute a kernel.
The ComputeServer is responsible to convert those info into actual Binding when launching
kernels.
Fields§
§data: Vec<u64>Scalar and metadata values
dynamic_metadata_offset: usizeStart of the dynamically sized portion of the metadata, relative to the entire info buffer
Implementations§
Trait Implementations§
Source§impl Debug for MetadataBindingInfo
impl Debug for MetadataBindingInfo
Source§impl Default for MetadataBindingInfo
impl Default for MetadataBindingInfo
Source§fn default() -> MetadataBindingInfo
fn default() -> MetadataBindingInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MetadataBindingInfo
impl RefUnwindSafe for MetadataBindingInfo
impl Send for MetadataBindingInfo
impl Sync for MetadataBindingInfo
impl Unpin for MetadataBindingInfo
impl UnsafeUnpin for MetadataBindingInfo
impl UnwindSafe for MetadataBindingInfo
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