Expand description
Rayon-scheduled task executor and backend wrappers shared by the CPU backend crates.
Modules§
- fft64
- Shared Rayon-scheduled wrapper for the FFT64 CPU backends.
- normalize
- Coefficient-range-parallel normalization and gadget digit layout: carries propagate across limbs per coefficient, so disjoint coefficient ranges split freely.
- ntt4x30
- Rayon-scheduled wrapper shared by the NTT4x30 backends that store the transform domain as packed
u32residues. - tuning
- Thread-count diagnostic for the Rayon backends.
Macros§
- impl_
fft64_ rayon_ backend - Implements the Rayon-scheduled FFT64 backend
$rayonon top of the serial backend$base. - impl_
ntt4x30_ rayon_ backend - Implements the Rayon-scheduled NTT4x30 backend
$rayonon top of the serial backend$base, which implementsPackedNtt4x30Base. - rayon_
forward_ znx - rayon_
parallel_ assign - rayon_
parallel_ binary - rayon_
parallel_ shift - rayon_
parallel_ unary
Structs§
- FFT64
Portable Rayon - Rayon-scheduled variant of
FFT64Portable. - NTT4x30
Portable Rayon - Rayon-scheduled variant of
NTT4x30Portable. - Rayon
Task Executor
Constants§
- DEFAULT_
IDLE_ POLLING - Idle polling window used unless
set_idle_pollingchanges it.
Traits§
- Rayon
Tuning - Backend-local thresholds for Rayon scheduling.
Functions§
- idle_
polling - The idle polling window, or
Nonewhen polling is off. - parallel_
chunk_ len - Chunk length for coefficient-wise parallel kernels, or
Nonewhen the slice is too short to repay scheduling. - parallel_
limb_ tasks - Whether a per-limb task split is worth scheduling.
- set_
idle_ polling - Sets how long idle workers keep polling for work after the last parallel region, or turns polling off.
- take_
scratch - Takes a
len-element typed slice from the arena. - workers
- Worker slices to size scratch for, capped by the kernel’s own bound.
- workers_
within - Same as
workers, bounded by the scratch bytes actually available.
Type Aliases§
- FFT64CI
Portable Rayon FFT64PortableRayonover the conjugate invariant ring.- NTT4x30CI
Portable Rayon NTT4x30PortableRayonover the conjugate invariant ring.