interplane.Get Omega
Read in your language

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

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