Expand description
Hataori: local data parallelism and an optional long-lived distributed runtime.
Structs§
- Domain
- A P0 execution domain.
- Domain
Admission - RAII ownership of a domain’s one running-operation slot.
- Domain
Busy - The domain’s admission slot is already occupied.
- Domain
Id - The P0 execution-domain identifier.
- Lane
Control - A cancellation capability shared by a coordinator and its lanes.
- Lane
Executor Error - A lane executor failure during a local fan-out.
- MapError
- The first callback error returned by
map. - Negative
Rank - A negative rank was supplied to
Place::new. - Place
- A rank and its execution-domain identifier.
- Placement
Error - Error converged across every rank in a placement collective.
- Pmap
Error - Error converged across every rank in a collective
pmapcall. - Pmap
Options - Options shared by every rank in one collective
pmapcall. - Rayon
Lanes - The
Lanesimplementation over a domain’s Rayon pool. - Unsupported
Domain Id - The requested domain identifier is not supported by P0.
Enums§
- Domain
Build Error - A managed or external Rayon domain could not be constructed.
- Lanes
Error - Failure from a
Lanesrun. - Local
Mode - Local execution policy for a domain operation.
- MapIn
Error - Failure from a local fan-out over
Lanes. - Placement
Error Kind - Stable category of a collective placement failure.
- Placement
Status - Whether the domain’s CPU placement was verified.
- Pmap
Error Kind - Stable category of a collective
pmapfailure. - Pool
Ownership - Whether a Rayon pool is owned by Hataori or by its caller.
- Rayon
Lanes Error - Why a
RayonLanesexecutor could not be created for a domain.
Traits§
- Lanes
- A per-worker execution lanes executor plus a caller-thread coordinator.
Functions§
- broadcast
- Copies one root-owned value to every rank.
- gather
- Collects one value from every rank in rank order on the root.
- map
- Applies
ftoitemssequentially and returns results in their original order. - map_in
- Maps
itemsthrough an explicit Rayon domain. - map_
in_ lanes - Maps
itemsthrough aLanesexecutor withLocalMode::Outersemantics. - pmap
- Dynamically maps root-owned items across MPI ranks and each rank’s explicit Rayon domain.
- pmap_
lanes - Dynamically maps root-owned items across MPI ranks and caller-supplied lanes for each rank’s local batches.
- scatter
- Distributes one owned shard from the root to each rank.