pub struct DeviceReplayedLogicalCommandAttribution { /* private fields */ }Expand description
One logical plan-node command sealed inside a physical reusable executable.
A CUDA graph segment launches as one physical command, but release determinism must still prove which immutable-plan nodes were replayed and how much native graph work each logical command contributed.
Implementations§
Source§impl DeviceReplayedLogicalCommandAttribution
impl DeviceReplayedLogicalCommandAttribution
pub fn new( logical_command_ordinal: u32, node_index: u32, native_op_id: DeviceNativeOperationId, batching_form: DeviceBatchingForm, participant_count: u32, token_count: u64, compute_dispatch_count: u64, transfer_command_count: u64, reusable_graph_node_count: u64, ) -> Option<Self>
pub const fn logical_command_ordinal(&self) -> u32
pub const fn node_index(&self) -> u32
pub const fn native_op_id(&self) -> &'static str
pub const fn batching_form(&self) -> DeviceBatchingForm
pub const fn participant_count(&self) -> u32
pub const fn token_count(&self) -> u64
pub const fn compute_dispatch_count(&self) -> u64
pub const fn transfer_command_count(&self) -> u64
pub const fn reusable_graph_node_count(&self) -> u64
Trait Implementations§
Source§impl Clone for DeviceReplayedLogicalCommandAttribution
impl Clone for DeviceReplayedLogicalCommandAttribution
Source§fn clone(&self) -> DeviceReplayedLogicalCommandAttribution
fn clone(&self) -> DeviceReplayedLogicalCommandAttribution
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 Eq for DeviceReplayedLogicalCommandAttribution
impl StructuralPartialEq for DeviceReplayedLogicalCommandAttribution
Auto Trait Implementations§
impl Freeze for DeviceReplayedLogicalCommandAttribution
impl RefUnwindSafe for DeviceReplayedLogicalCommandAttribution
impl Send for DeviceReplayedLogicalCommandAttribution
impl Sync for DeviceReplayedLogicalCommandAttribution
impl Unpin for DeviceReplayedLogicalCommandAttribution
impl UnsafeUnpin for DeviceReplayedLogicalCommandAttribution
impl UnwindSafe for DeviceReplayedLogicalCommandAttribution
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