skip to content
==> README.md <==
1# @ajax/mesh-inproc
2
3A GPU program driven in-process through meshd's backend, as kcheck checks every program: `mesh_dev` (CUDA in blink mode, or any backend), a mailbox with its header, loading a catalog dir (compile, load, `MESH_RT_ABI`, `nodes = "fit"`), installing a slot under the seqlock, launch and stop with their times, publishing, waiting, batches, the input queue, the request window, the view heap and reads masks.
4
5## Differences
6
7`mesh_dev_open_cuda` covers CUDA; a wasm executor is passed in with `mesh_dev_from` (Metal is not ported).
8
9## Ported from
10
11[alpha-rust-mesh](https://github.com/rsafier/alpha-rust-mesh) (Richard Safier, MIT): crates/mesh-host/src/inproc.rs.
12
13## Tests
14
15`tests/inproc.c`, on the fake device: a catalog dir loaded and checked, `nodes = "fit"`, reads masks, the heap, install, launch, tickets and a batch, the input queue, a request, a stop and a relaunch.
16
17## Licence
18
19MIT. See the repository's LICENSE.