#[repr(transparent)]pub struct CUgraphInstantiate_flags(pub c_uint);
Expand description
Flags for instantiating a graph Flags for instantiating a graph
Tuple Fields§
§0: c_uint
Implementations§
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.
Source§impl CUgraphInstantiate_flags_enum
impl CUgraphInstantiate_flags_enum
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 \p instantiateParams.
Source§impl CUgraphInstantiate_flags_enum
impl CUgraphInstantiate_flags_enum
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 CUDA_GRAPH_INSTANTIATE_FLAG_AUTO_FREE_ON_LAUNCH.
Source§impl CUgraphInstantiate_flags_enum
impl CUgraphInstantiate_flags_enum
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§
Source§impl Clone for CUgraphInstantiate_flags_enum
impl Clone for CUgraphInstantiate_flags_enum
Source§fn clone(&self) -> CUgraphInstantiate_flags_enum
fn clone(&self) -> CUgraphInstantiate_flags_enum
Returns a duplicate 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 CUgraphInstantiate_flags_enum
impl Hash for CUgraphInstantiate_flags_enum
Source§impl PartialEq for CUgraphInstantiate_flags_enum
impl PartialEq for CUgraphInstantiate_flags_enum
Source§fn eq(&self, other: &CUgraphInstantiate_flags_enum) -> bool
fn eq(&self, other: &CUgraphInstantiate_flags_enum) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for CUgraphInstantiate_flags_enum
impl Eq for CUgraphInstantiate_flags_enum
impl StructuralPartialEq for CUgraphInstantiate_flags_enum
Auto Trait Implementations§
impl Freeze 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 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