pub enum CpuHistogramAlgorithm {
Chunked,
ChunkedSimd,
}
Expand description
Specifies the histogram algorithm that computes the partition offsets.
Variants
Chunked
Chunked
computes a separate set of partitions per thread block. Tuples of the resulting
partitions are thus distributed among all chunks.
It was originally introduced for NUMA locality by Schuh et al. in “An Experimental Comparison of Thirteen Relational Equi-Joins in Main Memory”.
ChunkedSimd
Prefix sum with SIMD optimizations.
This is the same algorithm as Chunked
, but uses SIMD load instructions. Also, loops are
manually unrolled to 64 bytes.
Limitations
Currently only implemented for PPC64le.
Trait Implementations
sourceimpl Clone for CpuHistogramAlgorithm
impl Clone for CpuHistogramAlgorithm
sourcefn clone(&self) -> CpuHistogramAlgorithm
fn clone(&self) -> CpuHistogramAlgorithm
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 CpuHistogramAlgorithm
impl Debug for CpuHistogramAlgorithm
sourceimpl From<CpuHistogramAlgorithm> for HistogramAlgorithmType
impl From<CpuHistogramAlgorithm> for HistogramAlgorithmType
sourcefn from(algorithm: CpuHistogramAlgorithm) -> Self
fn from(algorithm: CpuHistogramAlgorithm) -> Self
Performs the conversion.
sourceimpl From<CpuHistogramAlgorithm> for GpuHistogramAlgorithm
impl From<CpuHistogramAlgorithm> for GpuHistogramAlgorithm
sourcefn from(algo: CpuHistogramAlgorithm) -> Self
fn from(algo: CpuHistogramAlgorithm) -> Self
Performs the conversion.
impl Copy for CpuHistogramAlgorithm
Auto Trait Implementations
impl RefUnwindSafe for CpuHistogramAlgorithm
impl Send for CpuHistogramAlgorithm
impl Sync for CpuHistogramAlgorithm
impl Unpin for CpuHistogramAlgorithm
impl UnwindSafe for CpuHistogramAlgorithm
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