#[repr(transparent)]pub struct CUgraphChildGraphNodeOwnership_enum(pub c_int);Expand description
Child graph node ownership.
Tuple Fields§
§0: c_intImplementations§
Source§impl CUgraphChildGraphNodeOwnership_enum
impl CUgraphChildGraphNodeOwnership_enum
Sourcepub const CU_GRAPH_CHILD_GRAPH_OWNERSHIP_CLONE: CUgraphChildGraphNodeOwnership_enum
pub const CU_GRAPH_CHILD_GRAPH_OWNERSHIP_CLONE: CUgraphChildGraphNodeOwnership_enum
Default behavior for a child graph node.
Child graph is cloned into the parent and memory allocation/free nodes can’t be present in the child graph.
Sourcepub const CU_GRAPH_CHILD_GRAPH_OWNERSHIP_MOVE: CUgraphChildGraphNodeOwnership_enum
pub const CU_GRAPH_CHILD_GRAPH_OWNERSHIP_MOVE: CUgraphChildGraphNodeOwnership_enum
The child graph is moved to the parent.
The handle to the child graph is owned by the parent and will be destroyed when the parent is destroyed.
The following restrictions apply to child graphs after they have been moved: Cannot be independently instantiated or destroyed; Cannot be added as a child graph of a separate parent graph; Cannot be used as an argument to cuGraphExecUpdate; Cannot have additional memory allocation or free nodes added.
Sourcepub const CU_GRAPH_CHILD_GRAPH_OWNERSHIP_INVALID: CUgraphChildGraphNodeOwnership_enum
pub const CU_GRAPH_CHILD_GRAPH_OWNERSHIP_INVALID: CUgraphChildGraphNodeOwnership_enum
Invalid ownership flag.
Set when params are queried to prevent accidentally reusing the driver-owned graph object.
Trait Implementations§
impl Copy for CUgraphChildGraphNodeOwnership_enum
impl Eq for CUgraphChildGraphNodeOwnership_enum
Source§impl Ord for CUgraphChildGraphNodeOwnership_enum
impl Ord for CUgraphChildGraphNodeOwnership_enum
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for CUgraphChildGraphNodeOwnership_enum
impl PartialOrd for CUgraphChildGraphNodeOwnership_enum
impl StructuralPartialEq for CUgraphChildGraphNodeOwnership_enum
Auto Trait Implementations§
impl Forget for CUgraphChildGraphNodeOwnership_enum
impl Freeze for CUgraphChildGraphNodeOwnership_enum
impl Move for CUgraphChildGraphNodeOwnership_enum
impl RefUnwindSafe for CUgraphChildGraphNodeOwnership_enum
impl Send for CUgraphChildGraphNodeOwnership_enum
impl Sync for CUgraphChildGraphNodeOwnership_enum
impl Unpin for CUgraphChildGraphNodeOwnership_enum
impl UnsafeUnpin for CUgraphChildGraphNodeOwnership_enum
impl UnwindSafe for CUgraphChildGraphNodeOwnership_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