pub enum CudaResidentGraphSessionError {
ZeroGraphHash,
ZeroGraphBytes,
ZeroRuns,
ZeroBudget,
PerRunReadbackRejected,
ByteCountOverflow {
field: &'static str,
},
OverBudget {
required_bytes: u64,
budget_bytes: u64,
},
NonResidentEvidence,
}Expand description
CUDA resident graph session planning errors.
Variants§
ZeroGraphHash
Graph hash must be non-zero.
ZeroGraphBytes
Graph must have resident bytes.
ZeroRuns
Run count must be non-zero.
ZeroBudget
Explicit CUDA memory budget cannot be zero.
PerRunReadbackRejected
Per-run host readback would reintroduce CPU orchestration.
ByteCountOverflow
Byte arithmetic overflowed.
OverBudget
Peak resident bytes exceed the explicit budget.
NonResidentEvidence
Resident session evidence does not describe a final-only resident execution.
Trait Implementations§
Source§impl ArithmeticOverflow for CudaResidentGraphSessionError
impl ArithmeticOverflow for CudaResidentGraphSessionError
Source§fn arithmetic_overflow(field: &'static str) -> Self
fn arithmetic_overflow(field: &'static str) -> Self
Build the planner-specific overflow error for
field.Source§impl Clone for CudaResidentGraphSessionError
impl Clone for CudaResidentGraphSessionError
Source§fn clone(&self) -> CudaResidentGraphSessionError
fn clone(&self) -> CudaResidentGraphSessionError
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 moreSource§impl Error for CudaResidentGraphSessionError
impl Error for CudaResidentGraphSessionError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<CudaResidentGraphSessionError> for CudaResidentGraphSessionEvidenceError
impl From<CudaResidentGraphSessionError> for CudaResidentGraphSessionEvidenceError
Source§fn from(error: CudaResidentGraphSessionError) -> Self
fn from(error: CudaResidentGraphSessionError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CudaResidentGraphSessionError
impl PartialEq for CudaResidentGraphSessionError
Source§fn eq(&self, other: &CudaResidentGraphSessionError) -> bool
fn eq(&self, other: &CudaResidentGraphSessionError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CudaResidentGraphSessionError
impl StructuralPartialEq for CudaResidentGraphSessionError
Auto Trait Implementations§
impl Freeze for CudaResidentGraphSessionError
impl RefUnwindSafe for CudaResidentGraphSessionError
impl Send for CudaResidentGraphSessionError
impl Sync for CudaResidentGraphSessionError
impl Unpin for CudaResidentGraphSessionError
impl UnsafeUnpin for CudaResidentGraphSessionError
impl UnwindSafe for CudaResidentGraphSessionError
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.