pub enum CpuRadixPartitionAlgorithm {
NC,
Swwc,
SwwcSimd,
}
Expand description
Specifies the radix partition algorithm.
Variants
NC
Non-caching radix partition.
This is a standard, parallel radix partition algorithm.
Swwc
Radix partition with software write-combining.
This algorithm uses software-write combine buffers to avoid TLB misses. The buffers are flushed using non-temporal SIMD stores on x86-64. In contrast, PPC64le uses regular SIMD stores, as non-temporal hints don’t actually enforce streaming, but cause additional overhead.
SwwcSimd
Radix partition with software write-combining and SIMD optimizations.
This is the same algorithm as Swwc
, but uses SIMD loads in addition to
the SIMD buffer flush. Also, loops are manually unrolled to 64 bytes.
Limitations
Currently only implemented for PPC64le.
Trait Implementations
sourceimpl Clone for CpuRadixPartitionAlgorithm
impl Clone for CpuRadixPartitionAlgorithm
sourcefn clone(&self) -> CpuRadixPartitionAlgorithm
fn clone(&self) -> CpuRadixPartitionAlgorithm
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CpuRadixPartitionAlgorithm
impl Debug for CpuRadixPartitionAlgorithm
impl Copy for CpuRadixPartitionAlgorithm
Auto Trait Implementations
impl RefUnwindSafe for CpuRadixPartitionAlgorithm
impl Send for CpuRadixPartitionAlgorithm
impl Sync for CpuRadixPartitionAlgorithm
impl Unpin for CpuRadixPartitionAlgorithm
impl UnwindSafe for CpuRadixPartitionAlgorithm
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more