tick, the mesh scheduler's test program (a periodic counter whose view a migration must carry), as PTX from C
$ sexc add @ajax/mesh-prog-tick- total 3
- drwxr-xr-x-../
- drwxr-xr-x-Oct 27 03:27v/# 1 version
- drwxr-xr-x-Oct 27 03:27files/# the files of 0.1.0
- latest
- 0.1.0, published Oct 27 03:27 by ajax
- owners
- ajax
- license
- MIT
- dependencies
- @ajax/mesh-rt ^0.1.0, @ajax/mesh-rt-sim-mailbox ^0.1.0, @ajax/mesh-check ^0.1.0
- dependents
- none yet
- keywords
- mesh alphaos gpu ptx program
- homepage
- https://github.com/thomasdavis/alpha-c-mesh/tree/main/programs/tick
- repository
- https://github.com/thomasdavis/alpha-c-mesh
1# @ajax/mesh-prog-tick 2 3The fleet scheduler's test program: a periodic counter whose view a migration must carry. View: `0x0` 4magic "TICK", `0x4` ticks, `0x8` inits, `0xc` the last verify's mismatches, then the pattern (word i is 5P(i) after init; tick t overwrites word t mod W with P(t mod W) ^ (t + 1)). Op 3 verifies 4096 sampled 6words and the last 64 ticks' words. `variants/` (tick-w, tick-m, tick-r, tick-big) are the same image 7under other manifests. 8 9- **Ported from:** alpha-rust-mesh `programs/tick/src/lib.rs` (and its `variants/`). 10- **Tests:** on the simulator: the pattern after init, 100 ticks, verify, a relaunch without OP_INIT (a 11 migration) continuing the count, and corrupted words found (once, or twice when sampled and recent).