Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/CUDApp/blob/main/docs/LICENSING_TRANSITION.md # CUDApp CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `CUDApp / docs / LICENSING_TRANSITION.md` 149 lines · 9042 bytes Raw Blame History Rendered 1 # CUDA++: why Apache-2.0 WITH LLVM-exception, and how to use the MIT version 2 3 **First-party CUDA++ material in this revision is offered under Apache-2.0 WITH LLVM-exception**, except where a file carries a different explicit notice. The license applies to this revision whether obtained from a branch or a release. Earlier MIT grants remain valid; this change does not revoke them. 4 5 ## Why I built it, and why the license changed 6 7 I built CUDA++ to give people an independently implemented path to their NVIDIA GPU without depending on NVIDIA's proprietary user-space compiler, runtime, driver library or math libraries. The goal was to remove that software dependency, not to distribute NVIDIA's proprietary implementation under my name. 8 9 The foundation came from my own implementation and interoperability research. I wrote probe kernels, inspected their outputs using vendor tools offline, compared one-variable changes, consulted public technical references and permissively licensed projects, and tested my own encodings and runtime on hardware. I acknowledge that reverse engineering openly. The method and source references are documented in [HOW_I_DID_IT.md](HOW_I_DID_IT.md); the scoped provenance review is in [LICENSE_PROVENANCE.md](LICENSE_PROVENANCE.md). 10 11 Understanding hardware behavior and writing my own implementation is different from taking proprietary source code. The documented provenance identifies my implementation work separately from the third-party material I actually include. I do not claim NVIDIA's open-source headers, Mesa's contributions, NVIDIA's firmware, or anyone else's work as mine. The audit records evidence and its limits, not a universal legal guarantee. 12 13 The MIT foundation remains available to everyone at the exact revision below. Going forward, my first-party improvements build on that foundation under Apache-2.0 WITH LLVM-exception. The LLVM exception lets a developer compile proprietary models or GPU kernels with CUDA++ and ship the resulting object code under terms of their choosing; it also resolves the GPLv2 patent/indemnity conflict at the kernel boundary. It does not license NVIDIA's firmware, the vendor driver, or third-party notices. 14 15 This is not a claim that every NVIDIA component has been replaced: the documented working path still uses NVIDIA's open kernel modules and signed firmware. Omega is relicensed under the same terms in its own repository. 16 17 ## What remains under its original terms 18 19 - NVIDIA's open-kernel-module interface headers retain their MIT notices in `third_party/nvidia-open-580.173.02/`. 20 - Mesa/NVK/NAK hardware facts and references retain their attribution in [THIRD_PARTY.md](../THIRD_PARTY.md). The historical audit reports no copied Mesa source code. 21 - Attributed quotations remain third-party text, not my newly authored work. 22 - The first-party AGPL-3.0-only transition is complete as of 2026-11-02. Drake Stapleton decided to relicense those files to Apache-2.0 WITH LLVM-exception. Before the edit, `git grep -l 'SPDX-License-Identifier: AGPL-3.0-only' -- ':!evidence' ':!third_party'` listed 57 files. CUDApp#89 had counted 48 on 2026-10-27 (`tests/learn53` 9, `native/learn53` 5, and the other directories below at the same counts). Nine files were added after that count: `tests/learn53` grew from 9 to 17 and `native/learn53` from 5 to 6. Each of the 57 SPDX lines changed from `AGPL-3.0-only` to `Apache-2.0 WITH LLVM-exception`. Those 57 files had no copyright line. The same edit normalized 26 first-party SPDX lines that said plain `Apache-2.0` to `Apache-2.0 WITH LLVM-exception` and left their copyright lines in place. The pull request is https://github.com/aien-dev/CUDApp/pull/263. Directory counts for the 57: `tests/learn53` 17, `tests/speculation` 10, `tests/host-trace` 9, `native/learn53` 6, `native/speculation` 5, `native/blackwell` 3, `native/trace` 2, `native/gsp` 1, `native/nvrm` 1, `tests/device-trace` 1, `tests/gsp` 1, `tools/omtrace` 1. 23 - Receipts under `evidence/` keep the terms they were recorded with and are not edited. 33 receipt files still contain a historical `SPDX-License-Identifier: AGPL-3.0-only` line. `evidence/LEARN53-L777-CONTINUATION/{author,review}/omega-core.om` carry no licence header. 24 - `native/learn53/omega653.lock` still records `"license": "AGPL-3.0"` for the pinned omega-mv object ``84d03c5523f39ca1045d1c313c5f62597779462b`` at `src/learning/benchmark/core.om`. That field is the upstream object's licence at that revision, not a CUDA++ SPDX header. `docs/learn53/CATALOG.md` and `docs/learn53/CONTINUATION-PLAN.md` describe that same upstream LICENSE. Those three texts were not changed. 25 - `CITATION.cff` keeps `license: "Apache-2.0"`. The Citation File Format accepts SPDX license identifiers only, and the file's comment says `LICENSE` is authoritative for the LLVM exception. 26 - `tools/localrouter/setup.py`, `tests/localrouter/test_setup.py`, and `tests/localrouter/negative_control.py` keep `SPDX-License-Identifier: MIT`. They were neither AGPL nor plain Apache-2.0. 27 - The original first-party MIT license can be read in [LICENSE at the pinned MIT revision](https://github.com/aien-dev/CUDApp/blob/`232332422bfdc31c8918085b50f13c1e18ab702e`/LICENSE). That prior grant remains effective for material covered by it; it is not a blanket MIT option for later Apache-2.0 WITH LLVM-exception contributions. 28 29 ## Files changed on 2026-11-02 30 31 AGPL-3.0-only SPDX headers, 57 files: 32 33 ```text 34 native/blackwell/launch.om 35 native/blackwell/trace-emit.om 36 native/blackwell/vector.om 37 native/gsp/fwimage.om 38 native/learn53/catalog.om 39 native/learn53/moe-closure.om 40 native/learn53/omega-adapter.om 41 native/learn53/stream.om 42 native/learn53/task.om 43 native/learn53/wire.om 44 native/nvrm/context.om 45 native/speculation/costs.om 46 native/speculation/policy.om 47 native/speculation/replay.om 48 native/speculation/report.om 49 native/speculation/service.om 50 native/trace/htlaunch.om 51 native/trace/htrec.om 52 tests/device-trace/emitter-test.om 53 tests/gsp/run-fwimage-host.sh 54 tests/host-trace/badfrag.om 55 tests/host-trace/fakedev.om 56 tests/host-trace/fakenv.om 57 tests/host-trace/launch-test.om 58 tests/host-trace/lossy.om 59 tests/host-trace/overhead-absent.om 60 tests/host-trace/overhead-traced.om 61 tests/host-trace/overhead.om 62 tests/host-trace/recorder-test.om 63 tests/learn53/catalog-check.om 64 tests/learn53/catalog-export.om 65 tests/learn53/catalog-fixtures.om 66 tests/learn53/catalog-unit.om 67 tests/learn53/fixtures.om 68 tests/learn53/moe-export.om 69 tests/learn53/moe-fixtures.om 70 tests/learn53/moe-observe-export.om 71 tests/learn53/moe-observe-fixtures.om 72 tests/learn53/moe-observe-unit.om 73 tests/learn53/moe-series-export.om 74 tests/learn53/moe-series-unit.om 75 tests/learn53/moe-unit.om 76 tests/learn53/omega-unit.om 77 tests/learn53/stream-check.om 78 tests/learn53/stream-fixtures.om 79 tests/learn53/stream-input.om 80 tests/speculation/cost-test.om 81 tests/speculation/oracle-test.om 82 tests/speculation/packet-fixture.om 83 tests/speculation/policy-test.om 84 tests/speculation/reply-test.om 85 tests/speculation/report-test.om 86 tests/speculation/run-teardown-host.sh 87 tests/speculation/service-test.om 88 tests/speculation/support.om 89 tests/speculation/teardown-host-test.om 90 tools/omtrace/omtrace.om 91 ``` 92 93 Plain `Apache-2.0` SPDX lines normalized to `Apache-2.0 WITH LLVM-exception`, 26 files: 94 95 ```text 96 src/omega_blackwell_codegen.h 97 src/omega_canonical.c 98 src/omega_canonical.h 99 src/omega_core.c 100 src/omega_core.h 101 src/omega_numeric.c 102 src/omega_numeric.h 103 src/omega_numeric_lifecycle.h 104 src/omega_numeric_reduce.c 105 src/omega_numeric_reduce.h 106 src/omega_path_check.h 107 src/omega_types.h 108 src/omega_vector.c 109 src/omega_vector.h 110 src/runtime/rx_costmodel.c 111 src/runtime/rx_costmodel.h 112 src/sha256.c 113 src/sha256.h 114 tests/bw_warp_sim.h 115 tests/bw_warp_sim_k.h 116 tests/bw_warp_sim_pa.h 117 tests/bw_warp_sim_tc.h 118 tests/omega/run.sh 119 tests/runtime/rx_costmodel_unit.c 120 tests/test_omega_gpu_decode_attn_maxpos.c 121 tools/mutation_runner.sh 122 ``` 123 124 ## Get the MIT foundation 125 126 Use this exact historical commit: 127 128 ``232332422bfdc31c8918085b50f13c1e18ab702e`` 129 130 These checkout commands were tested against the public repository: 131 132 ```sh 133 git clone --no-checkout https://github.com/aien-dev/CUDApp.git CUDApp-mit-snapshot 134 cd CUDApp-mit-snapshot 135 git fetch origin main 136 git checkout --detach `232332422bfdc31c8918085b50f13c1e18ab702e` 137 git rev-parse HEAD 138 head -1 LICENSE 139 ``` 140 141 The final commands show that exact commit and `MIT License`. To develop your own fork from this foundation, create a branch there: 142 143 ```sh 144 git switch -c my-mit-development `232332422bfdc31c8918085b50f13c1e18ab702e` 145 ``` 146 147 You can push that branch to a repository you control. GitHub's fork button alone does not select the historical version: explicitly check out the pinned commit. This is an existing MIT snapshot, not a claim that I created a separate hosted fork or that it was the final MIT commit. 148 149 Keep the MIT license and third-party notices when redistributing that version. Later Apache-2.0 WITH LLVM-exception contributions do not become MIT merely because you copy them onto this branch. The terms attached to the material you actually use continue to apply.