#[non_exhaustive]#[repr(u32)]pub enum GraphExecUpdateResult {
Success = 0,
Error = 1,
ErrorTopologyChanged = 2,
ErrorNodeTypeChanged = 3,
ErrorFunctionChanged = 4,
ErrorParametersChanged = 5,
ErrorNotSupported = 6,
ErrorUnsupportedFunctionChange = 7,
ErrorAttributesChanged = 8,
}Expand description
CUDA Graph Update error types
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Success = 0
The update succeeded.
Error = 1
The update failed for an unexpected reason which is described in the return value of the function.
ErrorTopologyChanged = 2
The update failed because the topology changed.
ErrorNodeTypeChanged = 3
The update failed because a node type changed.
ErrorFunctionChanged = 4
The update failed because the function of a kernel node changed (CUDA driver < 11.2).
ErrorParametersChanged = 5
The update failed because the parameters changed in a way that is not supported.
ErrorNotSupported = 6
The update failed because something about the node is not supported.
ErrorUnsupportedFunctionChange = 7
The update failed because the function of a kernel node changed in an unsupported way.
ErrorAttributesChanged = 8
The update failed because the node attributes changed in a way that is not supported.
Trait Implementations§
Source§impl Clone for GraphExecUpdateResult
impl Clone for GraphExecUpdateResult
impl Copy for GraphExecUpdateResult
Source§impl Debug for GraphExecUpdateResult
impl Debug for GraphExecUpdateResult
Source§impl Display for GraphExecUpdateResult
impl Display for GraphExecUpdateResult
impl Eq for GraphExecUpdateResult
Source§impl From<GraphExecUpdateResult> for u32
impl From<GraphExecUpdateResult> for u32
Source§fn from(enum_value: GraphExecUpdateResult) -> Self
fn from(enum_value: GraphExecUpdateResult) -> Self
Converts to this type from the input type.
Source§impl From<GraphExecUpdateResult> for CUgraphExecUpdateResult
impl From<GraphExecUpdateResult> for CUgraphExecUpdateResult
Source§fn from(value: GraphExecUpdateResult) -> Self
fn from(value: GraphExecUpdateResult) -> Self
Converts to this type from the input type.
Source§impl Hash for GraphExecUpdateResult
impl Hash for GraphExecUpdateResult
Source§impl PartialEq for GraphExecUpdateResult
impl PartialEq for GraphExecUpdateResult
impl StructuralPartialEq for GraphExecUpdateResult
Source§impl TryFrom<CUgraphExecUpdateResult_enum> for GraphExecUpdateResult
impl TryFrom<CUgraphExecUpdateResult_enum> for GraphExecUpdateResult
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§fn try_from(value: CUgraphExecUpdateResult) -> Result<Self, UnknownEnumValue>
fn try_from(value: CUgraphExecUpdateResult) -> Result<Self, UnknownEnumValue>
Performs the conversion.
Source§impl TryFrom<u32> for GraphExecUpdateResult
impl TryFrom<u32> for GraphExecUpdateResult
Source§type Error = TryFromPrimitiveError<GraphExecUpdateResult>
type Error = TryFromPrimitiveError<GraphExecUpdateResult>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for GraphExecUpdateResult
impl TryFromPrimitive for GraphExecUpdateResult
const NAME: &'static str = "GraphExecUpdateResult"
type Primitive = u32
type Error = TryFromPrimitiveError<GraphExecUpdateResult>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations§
impl Forget for GraphExecUpdateResult
impl Freeze for GraphExecUpdateResult
impl Move for GraphExecUpdateResult
impl RefUnwindSafe for GraphExecUpdateResult
impl Send for GraphExecUpdateResult
impl Sync for GraphExecUpdateResult
impl Unpin for GraphExecUpdateResult
impl UnsafeUnpin for GraphExecUpdateResult
impl UnwindSafe for GraphExecUpdateResult
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§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.