Enum sprs::smmp::ThreadingStrategy [−][src]
Control the strategy used to parallelize the matrix product workload.
The Automatic
strategy will try to pick a good number of threads based
on the number of cores and an estimation of the nnz of the product
matrix. This strategy is used by default.
The AutomaticPhysical
strategy will try to pick a good number of threads
based on the number of physical cores and an estimation of the nnz of the
product matrix. This strategy is a fallback for machines where virtual
cores do not provide a performance advantage.
The Fixed
strategy leaves the control to the user. It is a programming
error to request 0 threads.
Variants
Fixed(usize)
Trait Implementations
impl Clone for ThreadingStrategy
[src]
fn clone(&self) -> ThreadingStrategy
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ThreadingStrategy
[src]
impl Debug for ThreadingStrategy
[src]
impl Eq for ThreadingStrategy
[src]
impl PartialEq<ThreadingStrategy> for ThreadingStrategy
[src]
fn eq(&self, other: &ThreadingStrategy) -> bool
[src]
fn ne(&self, other: &ThreadingStrategy) -> bool
[src]
impl StructuralEq for ThreadingStrategy
[src]
impl StructuralPartialEq for ThreadingStrategy
[src]
Auto Trait Implementations
impl RefUnwindSafe for ThreadingStrategy
impl Send for ThreadingStrategy
impl Sync for ThreadingStrategy
impl Unpin for ThreadingStrategy
impl UnwindSafe for ThreadingStrategy
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub unsafe fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,