pub struct UpdateResult {
pub result: c_int,
pub error_node: Option<GraphNode>,
}Expand description
Outcome of GraphExec::update. result is a
cudaGraphExecUpdateResult code — SUCCESS (0) means the executable
graph was patched in place.
Fields§
§result: c_intRaw status code from cudaGraphExecUpdate. SUCCESS (0)
indicates the update was applied; other values describe why the
new template was incompatible with the existing exec.
error_node: Option<GraphNode>The node in the new template that triggered the failure, if any.
Implementations§
Source§impl UpdateResult
impl UpdateResult
Sourcepub fn is_success(&self) -> bool
pub fn is_success(&self) -> bool
true iff CUDA accepted the update.
Trait Implementations§
Source§impl Clone for UpdateResult
impl Clone for UpdateResult
Source§fn clone(&self) -> UpdateResult
fn clone(&self) -> UpdateResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Send for UpdateResult
impl !Sync for UpdateResult
impl Freeze for UpdateResult
impl RefUnwindSafe for UpdateResult
impl Unpin for UpdateResult
impl UnsafeUnpin for UpdateResult
impl UnwindSafe for UpdateResult
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