pub enum SeamReason {
HostControlFlowOrSequence,
UnresolvedOutputShape,
UnresolvedInputShape,
KernelNotWarmed,
KernelCaptureUnsupported,
CaptureRecordingFailed,
}Expand description
Structural reason a node forms an eager seam during device-graph capture.
Variants§
HostControlFlowOrSequence
Host-driven control-flow or sequence semantics.
UnresolvedOutputShape
A data-dependent output shape was unresolved before capture.
UnresolvedInputShape
A data-dependent input shape was unresolved before capture.
KernelNotWarmed
The requested concrete kernel shape has not completed warmup.
KernelCaptureUnsupported
The selected device kernel explicitly opts out of capture.
CaptureRecordingFailed
The kernel aborted device-graph recording (e.g. it advertised capture support but issued a stream synchronize, which CUDA rejects mid-capture) and was quarantined to a forced eager seam so the rest of the graph can still be captured.
Implementations§
Source§impl SeamReason
impl SeamReason
Trait Implementations§
Source§impl Clone for SeamReason
impl Clone for SeamReason
Source§fn clone(&self) -> SeamReason
fn clone(&self) -> SeamReason
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 SeamReason
Source§impl Debug for SeamReason
impl Debug for SeamReason
impl Eq for SeamReason
Source§impl PartialEq for SeamReason
impl PartialEq for SeamReason
impl StructuralPartialEq for SeamReason
Auto Trait Implementations§
impl Freeze for SeamReason
impl RefUnwindSafe for SeamReason
impl Send for SeamReason
impl Sync for SeamReason
impl Unpin for SeamReason
impl UnsafeUnpin for SeamReason
impl UnwindSafe for SeamReason
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more