skip to content
==> README.md <==
1# @ajax/mesh-mps-worker
2
3`meshd worker`: one program image in its own MPS client process. It maps meshd's mailbox file, registers it for the device, loads its one cubin (shape, scratch, `MESH_RT_ABI`, registers, occupancy, local bytes, the stack sized for it), launches `mesh_main` when told, and reports when the stream finished; it exits on W_QUIT, or at EOF after stopping its own kernel (meshd died).
4
5## Ported from
6
7[alpha-rust-mesh](https://github.com/rsafier/alpha-rust-mesh) (Richard Safier, MIT): crates/mesh-host/src/mps_worker.rs.
8
9## Tests
10
11Through @ajax/mesh-mps's test, whose MPS workers run this on the fake device.
12
13## Licence
14
15MIT. See the repository's LICENSE.