A GPU program driven in-process: compile, load, install a program-table slot in a mailbox of its own, launch, publish, stop and relaunch, through meshd's backend
$ sexc add @ajax/mesh-inproc- total 3
- drwxr-xr-x-../
- drwxr-xr-x-Oct 27 02:57v/# 1 version
- drwxr-xr-x-Oct 27 02:57files/# the files of 0.1.0
- latest
- 0.1.0, published Oct 27 02:57 by ajax
- owners
- ajax
- license
- MIT
- dependencies
- @ajax/mesh-backend ^0.1.0, @ajax/mesh-mps ^0.1.0, @ajax/nvjitlink ^0.1.0, @ajax/mesh-loader ^0.1.0, @ajax/mesh-manifest ^0.1.0, @ajax/mesh-manifest-encode ^0.1.0, @ajax/mesh-mailbox ^0.1.0, @ajax/mesh-shm ^0.1.0, @ajax/mesh-text ^0.1.0, @ajax/mesh-abi-base ^0.1.0, @ajax/mesh-abi-header ^0.1.0, @ajax/mesh-abi-program-table ^0.1.0, @ajax/mesh-abi-control-block ^0.1.0, @ajax/mesh-abi-ring ^0.1.0, @ajax/mesh-abi-ext ^0.1.0, @ajax/mesh-abi-node ^0.1.0, @ajax/mesh-abi-trace ^0.1.0, @ajax/mesh-abi-view-heap ^0.1.0, @ajax/mesh-abi-input-queue ^0.1.0, @ajax/mesh-abi-ops ^0.1.0, @ajax/mesh-abi-backend ^0.1.0, @ajax/mesh-abi-words ^0.1.0, @ajax/mesh-words-host ^0.1.0, @ajax/mesh-check ^0.1.0, @ajax/cuda-driver-fake ^0.1.0, @ajax/mesh-worker-node ^0.1.0, @ajax/mesh-worker-ctx ^0.1.0
- dependents
- none yet
- keywords
- mesh alphaos inproc kcheck backend driver
- homepage
- https://github.com/thomasdavis/alpha-c-mesh/tree/main/packages/mesh-inproc
- repository
- https://github.com/thomasdavis/alpha-c-mesh
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.