Skip to main content

Module execution

Module execution 

Source
Expand description

Execution context: parallelism, determinism, RNG, budgets, kernel policy.

No core algorithm creates a global thread pool, uses an implicit global RNG, or selects architecture-specific behavior outside KernelPolicy

SPDX-License-Identifier: MIT OR Apache-2.0

Structs§

AdaptiveBootstrapBudget
Adaptive bootstrap early-stop budget (SE relative-change criterion).
AdaptiveDrawBudget
Adaptive Bayesian draw budget (Laplace / conjugate path).
CacheBudget
Bounded cache budget for incremental causal state.
CachePolicy
Cache usage policy.
CancellationToken
Cooperative cancellation token.
CausalRng
Deterministic SplitMix64-based RNG for library algorithms.
ExecutionContext
Full execution context passed into algorithms.
KernelPolicy
Kernel selection policy.
MemoryBudget
Memory budget for planned allocations.
MonteCarloBudget
Shared Monte Carlo / approximate-compute budget report.
MonteCarloError
Per-estimate Monte Carlo uncertainty summary.
NonZeroThreadCount
Thread count that is at least one.
Parallelism
Parallel execution budget.
RngFactory
Factory for deterministic, independently seeded RNG streams.

Enums§

Determinism
Determinism requirements for reductions and scheduling.

Traits§

ProgressSink
Optional progress reporting sink.