pub struct ParallelMatmulConfig {
pub min_parallel_output_elements: usize,
pub min_parallel_shared_dim: usize,
}Expand description
Parallel heuristics for CPU matmul row-splitting.
Fields§
§min_parallel_output_elements: usizeMinimum m * n output cells needed before row-parallel execution is considered.
Minimum shared dimension (k) needed before row-parallel execution is considered.
Implementations§
Trait Implementations§
Source§impl Clone for ParallelMatmulConfig
impl Clone for ParallelMatmulConfig
Source§fn clone(&self) -> ParallelMatmulConfig
fn clone(&self) -> ParallelMatmulConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 ParallelMatmulConfig
impl Debug for ParallelMatmulConfig
Source§impl Default for ParallelMatmulConfig
impl Default for ParallelMatmulConfig
Source§impl PartialEq for ParallelMatmulConfig
impl PartialEq for ParallelMatmulConfig
impl Copy for ParallelMatmulConfig
impl Eq for ParallelMatmulConfig
impl StructuralPartialEq for ParallelMatmulConfig
Auto Trait Implementations§
impl Freeze for ParallelMatmulConfig
impl RefUnwindSafe for ParallelMatmulConfig
impl Send for ParallelMatmulConfig
impl Sync for ParallelMatmulConfig
impl Unpin for ParallelMatmulConfig
impl UnsafeUnpin for ParallelMatmulConfig
impl UnwindSafe for ParallelMatmulConfig
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more