#[non_exhaustive]#[repr(u32)]pub enum cudaGraphInstantiateResult {
cudaGraphInstantiateSuccess = 0,
cudaGraphInstantiateError = 1,
cudaGraphInstantiateInvalidStructure = 2,
cudaGraphInstantiateNodeOperationNotSupported = 3,
cudaGraphInstantiateMultipleDevicesNotSupported = 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.
cudaGraphInstantiateSuccess = 0
< Instantiation succeeded
cudaGraphInstantiateError = 1
< Instantiation failed for an unexpected reason which is described in the return value of the function
cudaGraphInstantiateInvalidStructure = 2
< Instantiation failed due to invalid structure, such as cycles
cudaGraphInstantiateNodeOperationNotSupported = 3
< Instantiation for device launch failed because the graph contained an unsupported operation
cudaGraphInstantiateMultipleDevicesNotSupported = 4
< Instantiation for device launch failed due to the nodes belonging to different contexts
Trait Implementations§
source§impl Clone for cudaGraphInstantiateResult
impl Clone for cudaGraphInstantiateResult
source§fn clone(&self) -> cudaGraphInstantiateResult
fn clone(&self) -> cudaGraphInstantiateResult
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 Debug for cudaGraphInstantiateResult
impl Debug for cudaGraphInstantiateResult
source§impl Hash for cudaGraphInstantiateResult
impl Hash for cudaGraphInstantiateResult
source§impl PartialEq for cudaGraphInstantiateResult
impl PartialEq for cudaGraphInstantiateResult
source§fn eq(&self, other: &cudaGraphInstantiateResult) -> bool
fn eq(&self, other: &cudaGraphInstantiateResult) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for cudaGraphInstantiateResult
impl Eq for cudaGraphInstantiateResult
impl StructuralPartialEq for cudaGraphInstantiateResult
Auto Trait Implementations§
impl Freeze for cudaGraphInstantiateResult
impl RefUnwindSafe for cudaGraphInstantiateResult
impl Send for cudaGraphInstantiateResult
impl Sync for cudaGraphInstantiateResult
impl Unpin for cudaGraphInstantiateResult
impl UnwindSafe for cudaGraphInstantiateResult
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