#[non_exhaustive]#[repr(u32)]pub enum CUgraphInstantiateResult_enum {
CUDA_GRAPH_INSTANTIATE_SUCCESS = 0,
CUDA_GRAPH_INSTANTIATE_ERROR = 1,
CUDA_GRAPH_INSTANTIATE_INVALID_STRUCTURE = 2,
CUDA_GRAPH_INSTANTIATE_NODE_OPERATION_NOT_SUPPORTED = 3,
CUDA_GRAPH_INSTANTIATE_MULTIPLE_CTXS_NOT_SUPPORTED = 4,
}Expand description
Graph instantiation results
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.
CUDA_GRAPH_INSTANTIATE_SUCCESS = 0
< Instantiation succeeded
CUDA_GRAPH_INSTANTIATE_ERROR = 1
< Instantiation failed for an unexpected reason which is described in the return value of the function
CUDA_GRAPH_INSTANTIATE_INVALID_STRUCTURE = 2
< Instantiation failed due to invalid structure, such as cycles
CUDA_GRAPH_INSTANTIATE_NODE_OPERATION_NOT_SUPPORTED = 3
< Instantiation for device launch failed because the graph contained an unsupported operation
CUDA_GRAPH_INSTANTIATE_MULTIPLE_CTXS_NOT_SUPPORTED = 4
< Instantiation for device launch failed due to the nodes belonging to different contexts
Trait Implementations§
source§impl Clone for CUgraphInstantiateResult_enum
impl Clone for CUgraphInstantiateResult_enum
source§fn clone(&self) -> CUgraphInstantiateResult_enum
fn clone(&self) -> CUgraphInstantiateResult_enum
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Hash for CUgraphInstantiateResult_enum
impl Hash for CUgraphInstantiateResult_enum
source§impl PartialEq for CUgraphInstantiateResult_enum
impl PartialEq for CUgraphInstantiateResult_enum
source§fn eq(&self, other: &CUgraphInstantiateResult_enum) -> bool
fn eq(&self, other: &CUgraphInstantiateResult_enum) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for CUgraphInstantiateResult_enum
impl Eq for CUgraphInstantiateResult_enum
impl StructuralPartialEq for CUgraphInstantiateResult_enum
Auto Trait Implementations§
impl RefUnwindSafe for CUgraphInstantiateResult_enum
impl Send for CUgraphInstantiateResult_enum
impl Sync for CUgraphInstantiateResult_enum
impl Unpin for CUgraphInstantiateResult_enum
impl UnwindSafe for CUgraphInstantiateResult_enum
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