skip to content
==> README.md <==
1# @ajax/mesh-occupancy
2
3Co-residency of resident CUDA kernels: every program's nodes must be on the GPU at once, forever, so a load is refused unless all of them fit (per kernel, the block budget, the occupancy shares, and whole-SM nodes against the spread of small blocks); and how many nodes of a shape still fit (`nodes = "fit"`).
4
5## Ported from
6
7[alpha-rust-mesh](https://github.com/rsafier/alpha-rust-mesh) (Richard Safier, MIT): crates/mesh-host/src/backend.rs (`co_resident`, `room`).
8
9## Tests
10
11`tests/occupancy.c`: the Rust's `co_residency` test (RTX 3060 and GB10 shapes), with the exact messages.
12
13## Licence
14
15MIT. See the repository's LICENSE.