pub enum Pivoting {
Auto,
None,
GlobalCol,
GlobalRow,
Diagonal,
LocalBlock,
}Expand description
Specifies the pivoting strategy (cuDSS only)
See: https://docs.nvidia.com/cuda/cudss/types.html#cudsspivottype-t
Variants§
Auto
Automatic pivoting strategy (default)
Automatically selects the appropriate pivot type based on the reordering algorithm and matrix type:
- For Ordering::Auto and Ordering::Amd:
- Symmetric/Hermitian indefinite matrices: Uses Pivoting::Diagonal
- General matrices: Uses Pivoting::LocalBlock
- For Ordering::BtfColamd and Ordering::Colamd: Uses Pivoting::GlobalCol
CUDSS_PIVOT_AUTO
None
GlobalCol
GlobalRow
Diagonal
Diagonal pivoting
Used with Ordering::Auto and Ordering::Amd (MetisND and AMD).
For symmetric/Hermitian indefinite matrices, searches for pivot elements only within the diagonal of the supernode.
CUDSS_PIVOT_DIAGONAL
LocalBlock
Complete block pivoting
Use with Ordering::Auto and Ordering::Amd.
For general matrices, searches for pivot elements within the entire diagonal block of the supernode.
CUDSS_PIVOT_LOCAL_BLOCK
Implementations§
Trait Implementations§
impl Copy for Pivoting
Source§impl<'de> Deserialize<'de> for Pivoting
impl<'de> Deserialize<'de> for Pivoting
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Pivoting
impl StructuralPartialEq for Pivoting
Auto Trait Implementations§
impl Freeze for Pivoting
impl RefUnwindSafe for Pivoting
impl Send for Pivoting
impl Sync for Pivoting
impl Unpin for Pivoting
impl UnsafeUnpin for Pivoting
impl UnwindSafe for Pivoting
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