pub struct GraphLaunchPatch {
pub grid: Option<(u32, u32, u32)>,
pub info: Option<Vec<u64>>,
pub ptrs: Vec<(usize, u64)>,
}Expand description
What to change about one captured launch. Fields left None/empty keep the
captured value.
Fields§
§grid: Option<(u32, u32, u32)>A new cube count. This is what moves a launch whose GEOMETRY depends on a per-step quantity, such as an attention split count that grows with the context.
info: Option<Vec<u64>>A new packed argument blob. Must be the same length as the captured one: the kernel’s parameter size is fixed at compile time and a shorter blob would have the driver read past it.
ptrs: Vec<(usize, u64)>(binding index, new device address) for buffers that must be
re-pointed. Empty is the normal case and the one the design is for –
a region whose buffers are pinned patches scalars only.
Trait Implementations§
Source§impl Clone for GraphLaunchPatch
impl Clone for GraphLaunchPatch
Source§impl Debug for GraphLaunchPatch
impl Debug for GraphLaunchPatch
Source§impl Default for GraphLaunchPatch
impl Default for GraphLaunchPatch
impl Eq for GraphLaunchPatch
Source§impl PartialEq for GraphLaunchPatch
impl PartialEq for GraphLaunchPatch
impl StructuralPartialEq for GraphLaunchPatch
Auto Trait Implementations§
impl Freeze for GraphLaunchPatch
impl RefUnwindSafe for GraphLaunchPatch
impl Send for GraphLaunchPatch
impl Sync for GraphLaunchPatch
impl Unpin for GraphLaunchPatch
impl UnsafeUnpin for GraphLaunchPatch
impl UnwindSafe for GraphLaunchPatch
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.