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/issues/1bba44dd3154f7a5 # 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 # Add a native benchmark report for token latency, launch costs and memory traffic Open · #17 · open 2026-10-22 17:08 UTC Imported from GitHub aien-dev/CUDApp#17, by drakestapleton drakestapleton wrote on 2026-10-22 17:08 UTC ## Problem The project has command-list timestamps, decode graph statistics, matmul stages and ceiling probes, but lacks one repeatable model-level view. The historical split-launch study is not a whole-model speedup forecast. ## Scope Build on src/omega_gpu_decode_graph., omega_gpu_cmdlist., and tests/gpu_launch_cost_test.c; reuse #14 for process-memory accounting. Report supported measurements as JSON and readable text without CUDA profiling dependencies in deployment. ## Acceptance - Record TTFT, prefill/decode latency, p50/p95, throughput, host record/submit time, GPU time, launches, barriers and allocations. - Separate measured counters from estimated weight/KV/intermediate bytes and unknown values; quantify timestamp/instrumentation overhead. - Sweep supported batch/context shapes and distinguish cold setup, warmed execution and repeated independent sessions. - Use paired baseline/candidate runs with fixed workload, thermal/clock conditions and correctness checks. Preserve unfavorable runs. - Store model/prompt/config hashes, precision, source pins, driver/chip identity and raw samples. - Label bandwidth probes as access-pattern-specific reference rates; do not apply a read-only rate to total mixed traffic as a proven physical limit. - Provide an executable comparison command; compare to a graph-enabled CUDA baseline when available and relevant, with absent comparisons marked NOT_RUN. Research: Memory-Bound but Not Bandwidth-Limited (https://doi.org/10.48550/arXiv.2605.30571 ); Driver Command Streams (https://doi.org/10.1145/`3832810`.`3832812` ). Their non-GB10 results motivate measurement, not transferred speedup claims. ## Evidence and closure Review baseline: `232332422bfdc31c8918085b50f13c1e18ab702e`; re-inspect the current tree and reuse existing work before editing. Coordinate with #5 and #6 and the serving/chip-window owner; host work can proceed independently of hardware scheduling. This issue does not authorize interrupting the live motor or switching kernel drivers. Publish exact source/pin SHAs, build and binary hashes, commands, exit codes, hardware/driver identity, raw logs and relevant negative controls under evidence/. Separate host, simulator and GB10 results. Hardware acceptance needs a real coordinated GB10 run on the final integrated artifact. Keep CUDA userspace dependencies out of the deployed runtime. Do not close on a branch push, simulator-only hardware result or PR merge alone. Experimental issues may close with a reproducible negative result and explicit decision; do not claim an optimization shipped unless its integration gates pass. ## CUDA-LEARN integration addendum ### Full-cost measurement for kernel learning Existing implementation is on `roadmap/17-native-benchmark` at `65948c9c9420391782939e3492b9ed310ec774c7`. `src/omega_native_benchmark.h` exposes collection around a real loaded graph and a request bridge; its graph adapter explicitly supports batch one and omits unknown counters. Reuse and port that work to seeded .om under #52 rather than creating another report system. A host JSON fixture remains formatter evidence, not GPU or serving qualification. Add candidate/task/contract/target identity, search lineage and total budget accounting for #53, #54 and #57. Count proposal/teacher inference, invalid candidates, compilation, verification, instrumentation, hardware measurement, setup, conversion/packing, dispatch and final consumer evaluation. Distinguish tokens, elapsed time, CPU/GPU time, measured energy and estimates; never infer an energy saving from runtime alone. Report all tasks including failure/no-gain/baseline-retention outcomes, plus a separately labeled accepted-only view. Freeze workload weights, per-workload limits and benefit criteria before final testing. Pair measurements, preserve unfavorable samples, disclose contention/thermal conditions and instrument overhead, and keep stress-instrumented runs out of production performance estimates. The assembled model/request result governs an integration claim. A faster kernel with a slower complete graph must not be advertised as a model speedup. KernelOPT motivates this distinction; its tolerance and 1.03 slowdown gate are not our default policy. Reuse the existing native collector and leave unsupported shapes or unavailable hardware NOT_RUN. ## 2026-10-28 kernel/quant/MoE swarm measurement contract Consume #156 , #157 , #158 , #159 and #57 without creating another benchmark service. For each experiment use frozen live 35B/Q36 source/checkpoint/quantization and a qualified cached-scratch baseline Omega #604 ; keep previously qualified 9-group wave rule PR #137 in the incumbent. Measure separate CPU plan/repack/compile/validate/cache/upload/record/submit GPU/IO phases, staged bytes/residency, code bytes, cache hit, launches, TPOT/TTFT, p50/p95, throughput and A/A noise. Pair cold/warm trials across B=1, supported batch and prefill with source/target binary/driver/model hashes, clocks/contenders/discards, correctness and negative controls. Do not turn a kernel-only 15.74% saving or theoretical 1 PFLOP claim into whole-model TPS. Report NOT_RUN/INCONCLUSIVE/NO-GO as observed; no new default from an unsupported or slower complete workload. No comments. Sign in to comment