pub struct CaptureEvent(pub u32);Expand description
Opaque identifier for an event used to thread cross-stream dependencies.
Mirrors a cudaEvent_t that is recorded on one stream and waited on by
another to reconstruct fork / join parallelism in a captured graph.
Tuple Fields§
§0: u32Trait Implementations§
Source§impl Clone for CaptureEvent
impl Clone for CaptureEvent
Source§fn clone(&self) -> CaptureEvent
fn clone(&self) -> CaptureEvent
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 CaptureEvent
Source§impl Debug for CaptureEvent
impl Debug for CaptureEvent
Source§impl Display for CaptureEvent
impl Display for CaptureEvent
impl Eq for CaptureEvent
Source§impl Hash for CaptureEvent
impl Hash for CaptureEvent
Source§impl Ord for CaptureEvent
impl Ord for CaptureEvent
Source§fn cmp(&self, other: &CaptureEvent) -> Ordering
fn cmp(&self, other: &CaptureEvent) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CaptureEvent
impl PartialEq for CaptureEvent
Source§impl PartialOrd for CaptureEvent
impl PartialOrd for CaptureEvent
impl StructuralPartialEq for CaptureEvent
Auto Trait Implementations§
impl Freeze for CaptureEvent
impl RefUnwindSafe for CaptureEvent
impl Send for CaptureEvent
impl Sync for CaptureEvent
impl Unpin for CaptureEvent
impl UnsafeUnpin for CaptureEvent
impl UnwindSafe for CaptureEvent
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