pub enum SgemmError {
InvalidMatrixDimensions {
matrix_name: MatrixName,
expected_rows: usize,
expected_cols: usize,
actual_len: usize,
},
DimensionOverflow {
matrix_name: MatrixName,
rows: usize,
cols: usize,
},
}Expand description
Error type for SGEMM operations.
Variants§
InvalidMatrixDimensions
Matrix has incorrect dimensions.
DimensionOverflow
Dimension overflow when computing matrix size.
Trait Implementations§
Source§impl Clone for SgemmError
impl Clone for SgemmError
Source§fn clone(&self) -> SgemmError
fn clone(&self) -> SgemmError
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 SgemmError
impl Debug for SgemmError
Source§impl Display for SgemmError
impl Display for SgemmError
Source§impl Error for SgemmError
impl Error for SgemmError
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 SgemmError
impl PartialEq for SgemmError
Source§fn eq(&self, other: &SgemmError) -> bool
fn eq(&self, other: &SgemmError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SgemmError
impl StructuralPartialEq for SgemmError
Auto Trait Implementations§
impl Freeze for SgemmError
impl RefUnwindSafe for SgemmError
impl Send for SgemmError
impl Sync for SgemmError
impl Unpin for SgemmError
impl UnsafeUnpin for SgemmError
impl UnwindSafe for SgemmError
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