build_plan_run
Stable function · Other
Tier: stable · Kind: function · Topic: Other
| Julia | Rust |
|---|---|
build_plan_run | not exported |
Julia
build_plan_run(dir::AbstractString; saveat, tspan, cache, model, cache_root, url_overrides, threads, whole_state)
build_plan_run(dir; saveat = nothing, tspan = nothing, cache = nothing) -> (Run, PlanProblem)
A run of the plan in dir (spec/operator-interface.md §8, spec/toy-problems.md
§4): its operators built by plan_problem
, its resolved schedule and
step, over the plan’s time. A caller’s tspan other than the plan’s is
refused (the plan is stale, spec/plan.md §3). Run it with forward!
.
threads is the number of executor threads a leaf with dt_scope cell or
shard runs its units on (spec/partitioning.md §4, D99: a run-time option,
never a plan key; no result depends on it), at most Julia’s own thread count
in parallel. whole_state is for tests only: scoped leaves evaluate their
operators over the whole state instead of their lane programs (the oracle of
spec/partitioning.md §9.3).
Rust
Rust does not export this function.