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/learn53/CATALOG.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 / learn53 / CATALOG.md` 100 lines · 5896 bytes Raw Blame History Rendered 1 # Frozen public CUL1 catalog and Omega653 adapter 2 3 This is a **native-host domain component**, not a generated-candidate experiment, 4 protected evaluator, authenticated verdict service or GPU qualification. All 5 implementation and behavioral tests are seeded `.om`. Existing Linux tools are 6 development orchestration only; #15 still owns the native build boundary. 7 8 ## Frozen public profile 9 10 `kload(id:ulong)->ulong` writes the fixed task into `kt`, returning its length. 11 IDs outside1..8 return0 without modifying either `kt` or `ko`. Valid loads clear 12 all4096 task bytes before writing; they never modify candidate observations `ko`. 13 The contents, arithmetic mode, strides, tolerances and task membership cannot be 14 selected through observed-output bytes. Existing generic `kvalid`/`keval` remain 15 useful trusted-manifest APIs; this catalog does not replace or rename them. 16 17 |ID|Task|Task bytes|Guarded output bytes| 18 |--|--|--:|--:| 19 |1|add3, stride2, wraparound|136|28| 20 |2|add8, dense,7+9|160|40| 21 |3|add17, dense,UINT32_MAX+3|232|76| 22 |4|reduce3, stride2,UINT32_MAX+2+3|116|12| 23 |5|reduce8, dense, allUINT32_MAX|128|12| 24 |6|reduce17, dense, allUINT32_MAX|164|12| 25 |7|matmul M2,N3,K2, row strides3/4/4|144|36| 26 |8|matmul M3,N2,K3, row strides3/2/2|156|32| 27 28 CUL1 pool1 means public development. It maps to Omega653 public development 29 split2. All these cases are public, deliberately share algorithm/template 30 families, and are **not** disjoint training/adaptive/final evaluation pools. 31 Memorizing their outputs can pass them; no generalization claim is possible. 32 Exact emitted bytes/digests are published in the continuation receipt. 33 34 `catalog-export.om` is a development fixture emitter: exactly one stdin byte 35 selects ID1..8; stdout is only the frozen CUL1 task. Invalid frame length65, 36 unsupported ID77, I/O failure74; failure emits no task bytes. Its test checker 37 compares complete streams natively. Neither program executes candidate code. 38 39 ## Canonical dependency, not a second framework 40 41 `native/learn53/omega653.lock` pins Omega source84d03c55 and the exact SHA256 of 42 `src/learning/benchmark/core.om`. Export that committed Git object explicitly, 43 check its digest and concatenate it with task.om, catalog.om and omega-adapter.om. 44 There is no vendored implementation, mutable sibling binary, implicit download 45 or changed upstream code. The inspected exact upstream LICENSE is GNU AGPLv3. 46 Its185-check component ELF is independently reconstructed byte-for-byte before 47 this consumer is exercised. Full upstream653 review/acceptance remains separate. 48 49 ## Adapter API and authority 50 51 `aobserve(id,status,code,n)->ulong` consumes candidate bytes from `LGot[256]`. 52 It reloads the fixed catalog, validates CUL1, constructs independent expected 53 bytes from the existing `kexpect` reference (including both guards and padding) 54 in `LWant`, then calls the unchanged `lobserve`. It does not accept a claimed 55 PASS, tolerance, task payload or expected-output field from a candidate. 56 Result codes are canonical:0 correct,1..6 executor failures,7 wrong bytes, 57 8 exit/trap mismatch,9 empty output,10 malformed/unknown task. 58 59 `abegin(budget)->ulong` requires eight caller-owned LT records in ID order1..8: 60 public development split2, visibility1, numeric family=operation1/2/3, source 61 profile/schema1, oracle53, template1, input/output bounds from the table, declared 62 step bound1000000 and reserved0. The five digest groups retain their upstream 63 meaning and must be supplied by the qualified independent metadata owner; this 64 adapter does not invent or authenticate them. `lbegin(8,1,budget)` validates the 65 canonical manifest and starts a one-attempt-per-task run. If scalar catalog 66 fields disagree, `lbegin(0,1,budget)` intentionally invalidates the fresh run 67 (code1), clearing any prior completed-valid scores. An already active run is 68 refused with20 and preserved, matching the canonical lifecycle. 69 70 `aattempt(index,ordinal,status,code,n)->ulong` observes catalog ID=index+1 and 71 passes the derived outcome to `lattempt`. It never rewrites LC, LPin or the 72 outcome to fabricate success. Caller finishes using canonical `lfinish()`; 73 omitted tasks30, repeated ordinals28, bad identities26, missing costs23 and 74 exceeded time budget29 prevent a valid completed run. A wrong candidate may 75 produce a valid experiment record with a failure in the fixed denominator; 76 that is not candidate acceptance. Only completed-valid runs can report scores. 77 The step bound is declared metadata, not a process time limit enforced here. 78 79 All arrays are single-threaded, nonconcurrent scratch. LT, LPin, LC, status and 80 exit code belong to a **trusted executor**, not the candidate. Matching claimed 81 hashes do not authenticate an executable or establish custody. A same-process 82 hostile caller can change globals; this API is not a sandbox. Source hashing, 83 process supervision, measured costs, result authenticity and protected task 84 custody remain Omega653/L408/L605 and existing canonical owners' obligations. 85 86 ## Evidence boundary 87 88 The tests use **explicitly synthetic** LT digest words, compiler/ELF identities 89 and cost vectors to exercise the canonical admission/accounting behavior. They 90 are not real candidate records, training feedback, measured baseline costs, 91 complete-workload performance, corpus qualification or release approval. Literal 92 observed-output fixtures are independently derived public arithmetic answers; 93 they do not claim to be output from a newly generated candidate program. 94 95 No runtime, encoder, disassembler, operation lowering, numerical contract, 96 benchmark collector, admission/session system, model graph, reuse store, trainer 97 or RSI judge is replaced. No legacy dependency is retired because no production 98 consumer has cut over. Larger generic CUL1 layouts remain valid in task.om but 99 are not silently narrowed into the256-byte Omega public observation profile. 100 Full #53 and #54–60 acceptance gates remain open.