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.
- 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. - 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.
- Local
Mode - Local execution policy for a domain operation.
- MapIn
Error - Failure from
map_in. - 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.
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. - pmap
- Dynamically maps root-owned items across MPI ranks and each rank’s explicit Rayon domain.
- scatter
- Distributes one owned shard from the root to each rank.