Development¶
This section is for people who change the code, the build or the documentation of GPRidge. The contribution workflow is on one page, Contributing. The other pages describe how the documentation is built, how the version and a release are handled, which correctness checks exist, and the design of the internal contracts.
Where to start¶
To do this |
Read |
|---|---|
Set up a checkout, build, test and send a change |
|
Write or change a documentation page |
|
Change the version or cut a release |
|
Publish packages and a reproduction archive |
|
Run the sanitizer, fuzzing and reference-GP checks |
|
Profile or speed up a hot path |
|
Understand an internal contract |
the design notes below |
Repository layout¶
Path |
Content |
|---|---|
|
The C++ library, one directory per concern ( |
|
Shared types, parameter structures, and the I/O and configuration loaders ( |
|
The drivers |
|
The Cap’n Proto schemas and their ordinal records. |
|
The Python package and its tests. |
|
The Fortran module and the Rust, R and Julia packages over the C API. |
|
The C++ tests, the fuzz corpora under |
|
The asv benchmarks. |
|
The Lean and Rocq developments. |
|
The recorded symbol list of the C library. |
|
Recipes for conda, Spack, EasyBuild, EESSI and Nix. |
|
Documentation sources ( |
|
Build, check and generator scripts. |
|
Meson wraps of the third-party dependencies. |
Design notes¶
The pages under design/ are developer reference. Each starts with a status
line. The table gives that status.
Page |
Status |
Subject |
|---|---|---|
implemented |
the files that define |
|
partially implemented |
MPI ownership, covariance assembly, device contract |
|
implemented |
the rgmin objective adapters |
|
implemented |
model leases, observation archive, seed kernel |
|
partially implemented |
outer-loop rules, MPI contract, TLA+ model |
|
implemented, default |
oracle-target choice among images |
|
partially implemented |
optional GPU matrix products |
|
implemented for |
the |
|
requirements |
distributed layout, kernel providers, the backend interface |