#[repr(transparent)]pub struct CUgraphInstantiate_flags_enum(pub c_uint);Expand description
Flags for instantiating a graph.
Tuple Fields§
§0: c_uintImplementations§
Source§impl CUgraphInstantiate_flags_enum
impl CUgraphInstantiate_flags_enum
Sourcepub const CUDA_GRAPH_INSTANTIATE_FLAG_AUTO_FREE_ON_LAUNCH: CUgraphInstantiate_flags_enum
pub const CUDA_GRAPH_INSTANTIATE_FLAG_AUTO_FREE_ON_LAUNCH: CUgraphInstantiate_flags_enum
Automatically free memory allocated in a graph before relaunching.
Sourcepub const CUDA_GRAPH_INSTANTIATE_FLAG_UPLOAD: CUgraphInstantiate_flags_enum
pub const CUDA_GRAPH_INSTANTIATE_FLAG_UPLOAD: CUgraphInstantiate_flags_enum
Automatically upload the graph after instantiation.
Only supported by cuGraphInstantiateWithParams. The upload will be performed using the stream provided in instantiateParams.
Sourcepub const CUDA_GRAPH_INSTANTIATE_FLAG_DEVICE_LAUNCH: CUgraphInstantiate_flags_enum
pub const CUDA_GRAPH_INSTANTIATE_FLAG_DEVICE_LAUNCH: CUgraphInstantiate_flags_enum
Instantiate the graph to be launchable from the device.
This flag can only be used on platforms which support unified addressing. This flag cannot be used in conjunction with CUgraphInstantiate_flags::CUDA_GRAPH_INSTANTIATE_FLAG_AUTO_FREE_ON_LAUNCH.
Sourcepub const CUDA_GRAPH_INSTANTIATE_FLAG_USE_NODE_PRIORITY: CUgraphInstantiate_flags_enum
pub const CUDA_GRAPH_INSTANTIATE_FLAG_USE_NODE_PRIORITY: CUgraphInstantiate_flags_enum
Run the graph using the per-node priority attributes rather than the priority of the stream it is launched into.
Trait Implementations§
impl Copy for CUgraphInstantiate_flags_enum
impl Eq for CUgraphInstantiate_flags_enum
Source§impl Hash for CUgraphInstantiate_flags_enum
impl Hash for CUgraphInstantiate_flags_enum
Source§impl Ord for CUgraphInstantiate_flags_enum
impl Ord for CUgraphInstantiate_flags_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 CUgraphInstantiate_flags_enum
impl PartialOrd for CUgraphInstantiate_flags_enum
impl StructuralPartialEq for CUgraphInstantiate_flags_enum
Auto Trait Implementations§
impl Forget for CUgraphInstantiate_flags_enum
impl Freeze for CUgraphInstantiate_flags_enum
impl Move for CUgraphInstantiate_flags_enum
impl RefUnwindSafe for CUgraphInstantiate_flags_enum
impl Send for CUgraphInstantiate_flags_enum
impl Sync for CUgraphInstantiate_flags_enum
impl Unpin for CUgraphInstantiate_flags_enum
impl UnsafeUnpin for CUgraphInstantiate_flags_enum
impl UnwindSafe for CUgraphInstantiate_flags_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