#[repr(transparent)]pub struct cudaGraphInstantiateFlags(pub c_uint);
Expand description
Flags for instantiating a graph
Tuple Fields§
§0: c_uint
Implementations§
Source§impl cudaGraphInstantiateFlags
impl cudaGraphInstantiateFlags
Sourcepub const cudaGraphInstantiateFlagAutoFreeOnLaunch: cudaGraphInstantiateFlags
pub const cudaGraphInstantiateFlagAutoFreeOnLaunch: cudaGraphInstantiateFlags
< Automatically free memory allocated in a graph before relaunching.
Source§impl cudaGraphInstantiateFlags
impl cudaGraphInstantiateFlags
Sourcepub const cudaGraphInstantiateFlagUpload: cudaGraphInstantiateFlags
pub const cudaGraphInstantiateFlagUpload: cudaGraphInstantiateFlags
< Automatically upload the graph after instantiation. Only supported by ::cudaGraphInstantiateWithParams. The upload will be performed using the stream provided in \p instantiateParams.
Source§impl cudaGraphInstantiateFlags
impl cudaGraphInstantiateFlags
Sourcepub const cudaGraphInstantiateFlagDeviceLaunch: cudaGraphInstantiateFlags
pub const cudaGraphInstantiateFlagDeviceLaunch: cudaGraphInstantiateFlags
< 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 cudaGraphInstantiateFlagAutoFreeOnLaunch.
Source§impl cudaGraphInstantiateFlags
impl cudaGraphInstantiateFlags
Sourcepub const cudaGraphInstantiateFlagUseNodePriority: cudaGraphInstantiateFlags
pub const cudaGraphInstantiateFlagUseNodePriority: cudaGraphInstantiateFlags
< 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 cudaGraphInstantiateFlags
impl Clone for cudaGraphInstantiateFlags
Source§fn clone(&self) -> cudaGraphInstantiateFlags
fn clone(&self) -> cudaGraphInstantiateFlags
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 Debug for cudaGraphInstantiateFlags
impl Debug for cudaGraphInstantiateFlags
Source§impl Hash for cudaGraphInstantiateFlags
impl Hash for cudaGraphInstantiateFlags
impl Copy for cudaGraphInstantiateFlags
impl Eq for cudaGraphInstantiateFlags
impl StructuralPartialEq for cudaGraphInstantiateFlags
Auto Trait Implementations§
impl Freeze for cudaGraphInstantiateFlags
impl RefUnwindSafe for cudaGraphInstantiateFlags
impl Send for cudaGraphInstantiateFlags
impl Sync for cudaGraphInstantiateFlags
impl Unpin for cudaGraphInstantiateFlags
impl UnwindSafe for cudaGraphInstantiateFlags
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