pub enum CudaEGraphKernelPlanError {
ZeroThreadsPerBlock,
ZeroMaxBlocksPerLaunch,
CountOverflow {
field: &'static str,
},
InvalidPtxTarget {
target_sm: u32,
},
ImageViewMismatch {
field: &'static str,
image: usize,
view: usize,
},
ImageColumnOutOfBounds {
column: &'static str,
row: u32,
start: usize,
end: usize,
len: usize,
},
SignaturePairOrdinalOutOfBounds {
bucket_index: u32,
pair_ordinal: u64,
candidate_pair_count: u64,
},
SignatureBucketRowsOutOfBounds {
bucket_index: u32,
first_bucket_row: usize,
row_count: usize,
bucket_rows_len: usize,
},
StorageReserveFailed {
field: &'static str,
requested: usize,
message: String,
},
}Expand description
Error returned when e-graph kernel work cannot be planned.
Variants§
ZeroThreadsPerBlock
Threads per block was zero.
ZeroMaxBlocksPerLaunch
Maximum blocks per launch was zero.
CountOverflow
Count arithmetic overflowed.
InvalidPtxTarget
PTX generation received an invalid CUDA SM target.
ImageViewMismatch
Packed image metadata did not match the checked CUDA kernel view.
Fields
ImageColumnOutOfBounds
A packed row child span pointed outside the packed child column.
Fields
SignaturePairOrdinalOutOfBounds
A pair ordinal did not identify a valid row pair in a signature bucket.
Fields
SignatureBucketRowsOutOfBounds
A signature bucket’s row range pointed outside the bucket row table.
Fields
StorageReserveFailed
Planner storage reservation failed.
Trait Implementations§
Source§impl Clone for CudaEGraphKernelPlanError
impl Clone for CudaEGraphKernelPlanError
Source§fn clone(&self) -> CudaEGraphKernelPlanError
fn clone(&self) -> CudaEGraphKernelPlanError
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 Debug for CudaEGraphKernelPlanError
impl Debug for CudaEGraphKernelPlanError
Source§impl Display for CudaEGraphKernelPlanError
impl Display for CudaEGraphKernelPlanError
Source§impl Error for CudaEGraphKernelPlanError
impl Error for CudaEGraphKernelPlanError
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 PartialEq for CudaEGraphKernelPlanError
impl PartialEq for CudaEGraphKernelPlanError
Source§fn eq(&self, other: &CudaEGraphKernelPlanError) -> bool
fn eq(&self, other: &CudaEGraphKernelPlanError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CudaEGraphKernelPlanError
impl StructuralPartialEq for CudaEGraphKernelPlanError
Auto Trait Implementations§
impl Freeze for CudaEGraphKernelPlanError
impl RefUnwindSafe for CudaEGraphKernelPlanError
impl Send for CudaEGraphKernelPlanError
impl Sync for CudaEGraphKernelPlanError
impl Unpin for CudaEGraphKernelPlanError
impl UnsafeUnpin for CudaEGraphKernelPlanError
impl UnwindSafe for CudaEGraphKernelPlanError
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.