kernels
CUDA kernels
CUDA kernels live in their own monorepo,
prime-kernels, checked out here as the
git submodule deps/prime-kernels, alongside prime-rl's other submodules. That repo is the
wheel root (setup.py, pyproject.toml) and prime_kernels/ inside it is the importable
package: one folder per kernel, holding the
kernel's Python surface and, for compiled kernels, its C++/CUDA sources under csrc/, all declared in the single
manifest prime_kernels/kernels.toml. See deps/prime-kernels/README.md once the submodule
is initialized.
Nothing about a kernel lives in prime-rl. prime-rl pins a prime-kernels commit for local source builds and a prime-kernels release for installs. prime-kernels builds and publishes its own wheels. prime-rl stays a pure-Python wheel; never add compiled extensions to it.
Living under deps/ means tool.ruff.extend-exclude = ["deps"] in pyproject.toml
already covers it — prime-rl lints none of it.