pub struct GraphExec { /* private fields */ }Expand description
An instantiated (executable) CUDA graph.
Implementations§
Source§impl GraphExec
impl GraphExec
Sourcepub fn update(&self, new_template: &Graph) -> Result<UpdateResult>
pub fn update(&self, new_template: &Graph) -> Result<UpdateResult>
Attempt to update this executable graph in place from a
topology-identical template. On refusal the exec is left
unchanged; inspect UpdateResult for the specific reason.
pub fn as_raw(&self) -> cudaGraphExec_t
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GraphExec
impl RefUnwindSafe for GraphExec
impl Send for GraphExec
impl Sync for GraphExec
impl Unpin for GraphExec
impl UnsafeUnpin for GraphExec
impl UnwindSafe for GraphExec
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