#[repr(u8)]pub enum NumericMode {
Fast = 0,
Stable = 1,
Deterministic = 2,
}Expand description
Process-wide numerical execution policy.
Core owns the vocabulary and its environment mapping; the runtime runtime
consumes it through RuntimeConfig.
| Mode | Effect |
|---|---|
Fast | vendor math, non-deterministic reductions |
Stable | FP32 accumulators, CoopMat disabled |
Deterministic | fixed reduction order, no race-dependent atomics |
Port provenance: oa::NumericMode in oa/core/envFlag.h.
Variants§
Fast = 0
Vendor math, maximum performance. Non-deterministic reductions allowed.
Stable = 1
FP32 accumulators; CoopMat and BF16 disabled. Recommended for training.
Deterministic = 2
Fixed reduction order; persistent-loop submission disabled. Required for byte-identical reproducibility.
Trait Implementations§
Source§impl Clone for NumericMode
impl Clone for NumericMode
impl Copy for NumericMode
Source§impl Debug for NumericMode
impl Debug for NumericMode
Source§impl Default for NumericMode
impl Default for NumericMode
impl Eq for NumericMode
Source§impl PartialEq for NumericMode
impl PartialEq for NumericMode
impl StructuralPartialEq for NumericMode
Auto Trait Implementations§
impl Forget for NumericMode
impl Freeze for NumericMode
impl Move for NumericMode
impl RefUnwindSafe for NumericMode
impl Send for NumericMode
impl Sync for NumericMode
impl Unpin for NumericMode
impl UnsafeUnpin for NumericMode
impl UnwindSafe for NumericMode
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