pub struct CapturedCudaGraph { /* private fields */ }Expand description
Instantiated CUDA graph owned by a prepared runtime.
CUDA graph objects require external serialization. Qualia stores this wrapper only inside
the MultiWeightDevice mutex, so moving it with that device is safe while concurrent access
remains impossible.
Implementations§
Source§impl CapturedCudaGraph
impl CapturedCudaGraph
Sourcepub fn node_count(&self) -> Result<usize, ForgeError>
pub fn node_count(&self) -> Result<usize, ForgeError>
Exact number of nodes retained by the captured CUDA graph.
Trait Implementations§
impl Send for CapturedCudaGraph
Available on crate feature
cuda only.Auto Trait Implementations§
impl Freeze for CapturedCudaGraph
impl RefUnwindSafe for CapturedCudaGraph
impl !Sync for CapturedCudaGraph
impl Unpin for CapturedCudaGraph
impl UnsafeUnpin for CapturedCudaGraph
impl UnwindSafe for CapturedCudaGraph
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more