Scope revised 2026-10-27: Implement the generic mathematical idea of tile decomposition, on-chip data reuse, and associative streaming reductions natively in Omega. No TileLang code, syntax, runtime, dependency, or TileLang benchmark required. This supersedes this issue's original third-party comparison plan; issue history preserves it. This is a finite experiment, NOT A MASTER PLAN.
Goal
On the user's DGX Spark GB10, author a small .om tile program, compile and validate it using existing Omega semantics/checker2, run it using the existing CUDApp sm_121 path, and produce an independent numerical/experimental receipt. No new compiler, GPU session owner, or permanent foreign-language runtime.
Reuse
- Omega KernelFlow PR #850 and tile GEMM/softmax PR #869 (host-exercised tile specimens; GPU NOT_RUN on #869).
- Omegese GPU PR #885, its checker2 trust/owner-signature requirements, and gate swap #886.
- CUDApp #143 merged native
.omencoder/packer; #146 merged tuned GEMM; #145 merged general attention. - Respect governing architecture #190 and GPU portability ADR #343: P2–P4 redesign requires its prerequisite gates; this experiment stays inside an existing C1/GB10 execution seam.
Wolfram mathematical motivation — models, NOT measured performance
For BF16 A/B, FP32 C, GEMM M=N=K=1024, a simple uncached logical-request model is:
naive_bytes = 4*M*N*K + 4*M*N
tile_bytes = 2*M*K*Ceiling[N/BN] + 2*N*K*Ceiling[M/BM] + 4*M*N
staging_bytes = 2*stages*BK*(BM+BN)
accum_outputs_per_thread_proxy = BM*BN/threads
With BN=BM=64: naive 4100 MiB -> tiled 68 MiB (~60.3x fewer modeled requests); 128-square -> 36 MiB (~113.9x). These are not speedup claims, nor estimates against our already tiled CUDA++ kernels: caches, actual memory transactions, scheduling and register occupancy change physical costs.
With a hypothetical 48 KiB staging limit, 64 output values/thread accumulator proxy, BK=32 and 3 stages, 64×128 and 128×64 minimize this candidate set at 52 MiB logical requests and 36 KiB staging; physical GB10 feasibility and performance remain to be measured.
Streaming reduction property: for tile summaries (m,s,p) where m=max(x_i), s=sum(exp(x_i-m)), p=sum(v_i*exp(x_i-m)), combine two blocks with m=max(m1,m2), s=e^(m1-m)s1+e^(m2-m)s2, p=e^(m1-m)p1+e^(m2-m)p2. Wolfram checked exact equivalence and associativity on an integer test case; p/s matches direct weighted softmax. Floating-point order/rounding must be independently qualified under a fixed reduction tree. Do not implement incorrect independent tile-local softmax across a row.
Work packages and dependency
- T0: preregister mathematical oracle, numerical tolerances, resource constraints and red controls.
- T1 Omega #906: native
.omtile description, checked shape/layout, host GEMM and streaming softmax references, mutated rejects. - T2 CUDApp #153: GB10 execution through current verified path, bytes/identity/negative receipts.
- T3 GPU Head-to-Head #2: internal-only A/B of existing CUDApp tiled kernel and alternative Omega-native tile schedules, plus simple unblocked mathematical traffic model (never a claimed competitive speedup). First test GEMM 16×16×16 and row softmax 1×32, then larger prefill / decode shapes.
- T4 Omega Harness #101: one-command, reproducible native user/agent run, explanations and exact receipts.
Acceptance and controls
- Native
.omsource compiles using a pinned seed-born compiler; independent Wolfram oracle and mutated math results discriminate correct/incorrect output. - Shape, stride, dtype, overflow, alias/resource, stale source/compiler/receipt and uninitialized-output controls refuse for named reasons.
- Correct GPU output and honest host/chip timing recorded on a physically exercised GB10, only with existing operator-approved exclusive GPU access; otherwise label NOT_RUN.
- Benchmark p50/p95, resource usage, memory movement as measured when possible, and distinguish workload regimes (single-row decode weight-read vs batched/prefill vs attention streaming).
- A clean checkout can reproduce the host test; user's Spark can reproduce the chip test when legitimately free.
No firmware keys, unsigned firmware, kernel-module changes, reboot, 35B interruption, parallel unleased GPU jobs or unauthorized deployment. Final .om retirement only after consumer qualification, preserving transitional code disclosure. Third-party prior art is conceptual context only.