pub struct SubmittedCudaResidentBatch { /* private fields */ }Expand description
Asynchronously submitted codec-owned CUDA resident batch.
Every homogeneous group owns its final CUDA allocation before submission.
Self::wait exposes those allocations only after final-store completion
and entropy-status validation. Dropping this guard safely retires all work.
Implementations§
Source§impl SubmittedCudaResidentBatch
impl SubmittedCudaResidentBatch
Sourcepub fn pending_group_count(&self) -> usize
pub fn pending_group_count(&self) -> usize
Number of successfully submitted homogeneous groups still retained.
Sourcepub fn is_complete(&self) -> Result<bool, CudaBatchError>
pub fn is_complete(&self) -> Result<bool, CudaBatchError>
Query whether every successfully submitted group has completed.
Sourcepub fn wait(self) -> Result<CudaBatchDecodeResult, CudaBatchError>
pub fn wait(self) -> Result<CudaBatchDecodeResult, CudaBatchError>
Wait once for all group final stores and return codec-owned outputs.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SubmittedCudaResidentBatch
impl !Sync for SubmittedCudaResidentBatch
impl !UnwindSafe for SubmittedCudaResidentBatch
impl Freeze for SubmittedCudaResidentBatch
impl Send for SubmittedCudaResidentBatch
impl Unpin for SubmittedCudaResidentBatch
impl UnsafeUnpin for SubmittedCudaResidentBatch
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
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