pub struct LaunchAccounting {
pub sequential_submissions: usize,
pub graph_submissions: usize,
}Expand description
CPU-side launch accounting for graph dispatch.
Fields§
§sequential_submissions: usizeNumber of queue submissions required by sequential per-op dispatch.
graph_submissions: usizeNumber of queue submissions required by graph dispatch.
Implementations§
Source§impl LaunchAccounting
impl LaunchAccounting
Sourcepub fn reduction_factor(self) -> usize
pub fn reduction_factor(self) -> usize
Return the integer launch-count reduction from graph recording.
Trait Implementations§
Source§impl Clone for LaunchAccounting
impl Clone for LaunchAccounting
Source§fn clone(&self) -> LaunchAccounting
fn clone(&self) -> LaunchAccounting
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LaunchAccounting
Source§impl Debug for LaunchAccounting
impl Debug for LaunchAccounting
impl Eq for LaunchAccounting
Source§impl PartialEq for LaunchAccounting
impl PartialEq for LaunchAccounting
impl StructuralPartialEq for LaunchAccounting
Auto Trait Implementations§
impl Freeze for LaunchAccounting
impl RefUnwindSafe for LaunchAccounting
impl Send for LaunchAccounting
impl Sync for LaunchAccounting
impl Unpin for LaunchAccounting
impl UnsafeUnpin for LaunchAccounting
impl UnwindSafe for LaunchAccounting
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
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§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.