nvJitLink loaded at runtime: PTX to a cubin for the GPU's arch, off the blink, with no driver JIT fallback
$ sexc add @ajax/nvjitlink- total 3
- drwxr-xr-x-../
- drwxr-xr-x-Oct 27 02:56v/# 1 version
- drwxr-xr-x-Oct 27 02:56files/# the files of 0.1.0
- latest
- 0.1.0, published Oct 27 02:56 by ajax
- owners
- ajax
- license
- MIT
- dependencies
- @ajax/mesh-text ^0.1.0, @ajax/mesh-check ^0.1.0
- dependents
- @ajax/mesh-inproc, @ajax/mesh-mps, @ajax/meshd
- keywords
- mesh alphaos cuda nvjitlink ptx jit
- homepage
- https://github.com/thomasdavis/alpha-c-mesh/tree/main/packages/nvjitlink
- repository
- https://github.com/thomasdavis/alpha-c-mesh
1# @ajax/nvjitlink 2 3nvJitLink, opened at runtime from `--nvjitlink DIR` (`libnvJitLink.so.13`, CUDA 13 only): PTX text to a cubin for the GPU's arch, with `-maxrregcount` when a multi-warp node needs a register cap. One handle per link, destroyed on every path; errors carry nvJitLink's error log. There is no fallback to the driver JIT. 4 5## Ported from 6 7[alpha-rust-mesh](https://github.com/rsafier/alpha-rust-mesh) (Richard Safier, MIT): crates/mesh-host/src/nvjitlink.rs. 8 9## Tests 10 11`tests/nvjitlink.c`: the Rust's `link_and_refuse` with a fake nvJitLink (the real one needs the CUDA 13 toolkit): the refusal message, the options, NUL-terminated PTX, the error log, and that every handle is destroyed. 12 13## Licence 14 15MIT. See the repository's LICENSE.