omega-mv
Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.
Brought by drakestapleton
omega-mv / evidence / POLYGLOT / confirm-20260929T191231Z-071bfdbd76c7 / enc_sdot__S2.json
| 1 | { |
| 2 | "schema": "OMEGA_POLYGLOT0_RECEIPT_V1", |
| 3 | "semantic_operation": "omega-x", |
| 4 | "operation": "y = W.x, W in {-1,0,+1}^(m x n) row-major int8, x int8^n, y int32^m, exact", |
| 5 | "contract": {"path": "spec/polyglot-0.md", "section": 1, "sha256": "4b9034ae795cbcc1bca6739080fce8e83e346b9c4378ce2f320f5228b90d46b1", "digest_rule": "SHA-256 over the raw bytes of spec/polyglot-0.md from the first byte of the first line beginning with '## 1. ' up to, not including, the first byte of the next line beginning with '## ' (LF line endings, no normalisation)"}, |
| 6 | "run": {"run_id": "20260929T191231Z-071bfdbd76c7", "started_utc": "20260929T191231Z", "source_commit": "071bfdbd76c70714f624721f2c2eb9e4c9933233", "tree_dirty_files": 0, "bench_binary_sha256": "310b7dc8e68a9c05655ac6ad678b281a1b79c86b5a376f17eb1990ae1d3d8758", "smoke": false, "samples_per_cell": 21, "gate_eligible": true, "seed": "0x504f4c5942454e43", "min_sample_ns": 1000000, "peak_rss_kib": 227188}, |
| 7 | "candidate": {"id": "enc_sdot", "label": "int8 W row-major, B1 SDOT kernel emitted by Omega's own AArch64 encoder", "language": "omega-encoder", "toolchain": "omega aarch64_encoder + omx_encoder_ext (W^X mmap)", "flags": "cc -Wall -Wextra -Werror -O2 -march=armv8.6-a+dotprod+i8mm+sve -Isrc -c -o @OUT@ src/polyglot/omx_encoder.c", "representation": "binary", "backend": "grace-cpu, one pinned core", "exact": 1, "weak_baseline": 0, "compiler_derived": 0, "toolchain_only": 1, "max_n": 16777215, "source": "src/polyglot/omx_encoder.c"}, |
| 8 | "workload": {"id": "S2", "m": 256, "n": 1024, "x_per_packed_w": 1, "regime": "cache-resident (256 KiB int8, L2)", "x_mutation": "before every timed call one byte of that call's x is flipped in place (x ^= 1) at a column with non-zero column sum; the checksum prediction follows every flip, so no call sees the x of the call before it and cached results fail the checksum"}, |
| 9 | "machine": {"cpu_model": "NVIDIA NVIDIA_DGX_Spark, Grace CPU (20 cpus, pinned core Cortex-X925)", "core": 7, "core_type": "Cortex-X925", "cluster": "X925", "midr_part": "0xd85", "cpu_capacity": 997, "cpu_choice": "most idle Cortex-X925 over 0.3 s (100% idle)", "kernel": "Linux 7.0.0-1019-nvidia aarch64", "governor": "performance", "cur_khz_before": 3900000, "cur_khz_after": 3900000, "thermal_c_before": [35.5, 33.1, 32.9, 35.1, 35.5, 34.8, 33.8], "thermal_c_after": [45.8, 34.4, 45.8, 35.2, 34.6, 35.4, 40.0], "loadavg_before": "0.75 0.72 0.74", "loadavg_after": "0.97 0.77 0.75"}, |
| 10 | "build": {"object": "build/polyglot/lane/src/polyglot/omx_encoder.c.o", "object_sha256": "47462bbae3a5e59dc685c57487587921fa27b6ff03c4e3cf5e7ac18ccb272582", "object_text_bytes": 18340, "run_symbol": "enc_sdot_run", "run_symbol_bytes": 28, "pack_symbol": "pack_sdot", "pack_symbol_bytes": 508, "code_size_bytes": 1160, "code_parts": [{"part": "enc_sdot_run (C thunk)", "bytes": 28}, {"part": "emitted kernel instructions (W^X mapping)", "bytes": 624}, {"part": "pack_sdot (C)", "bytes": 508}], "code_size_rule": "C run thunk + bytes of the kernel emitted by Omega's encoder + C pack", "compile_time_s_min_of_5": 0.000039, "compile_command": "in-process (no compiler)", "compile_note": "one fresh kernel emission by Omega's encoder: sizing build, mmap RW, final build, write, mprotect RX, cache flush; min of 5 in-process runs; the gcc compile of the C source is not this realization's build"}, |
| 11 | "cells": [ |
| 12 | {"sparsity": 0.00, "input_sha256": "97b50afb7468bd4a8b21e900f58d0fa92392794126f8ccbb567d366ac3bc7a1b", "measured": true, "skip_reason": null, |
| 13 | "correctness": {"checks": 36, "failures": 0, "method": "y vs oma_rz_oracle for every x of the cell before timing, and every timed sample's y checksum vs the oracle checksum"}, |
| 14 | "calls_per_sample": 1024, "samples": 21, "retaken_samples": 2, "contaminated_samples": 0, "short_samples_retaken": 0, "short_samples_kept": 0, "shortest_sample_ns": 2240624, "cur_khz_at_cell_start": 3900000, |
| 15 | "latency_ns": {"min": 2188.109, "median": 2191.672, "mad": 1.688}, |
| 16 | "samples_ns_per_call": [2196.062, 2199.438, 2190.641, 2189.984, 2195.516, 2191.266, 2190.078, 2191.672, 2196.922, 2194.359, 2193.859, 2188.109, 2192.000, 2194.750, 2193.125, 2190.109, 2191.531, 2196.234, 2191.594, 2189.562, 2191.375], |
| 17 | "throughput": {"calls_per_s": 456272.7, "weights_per_s": 1.1961e+11, "bytes_per_s": 1.2054e+11}, |
| 18 | "bytes_moved_per_call": {"weight_bytes": 262144, "x_bytes": 1024, "y_bytes": 1024, "scratch_bytes": 0, "total": 264192}, |
| 19 | "footprint_bytes": 262144, "nnz": 262144, |
| 20 | "pack": {"ns_min": 152528.0, "ns_median": 152736.0, "ns_per_weight": 0.5826, "cheapest_to_pack": "MJ1_sdot", "break_even_calls": 4165, "break_even_note": "smallest k with pack + k*median <= cheapest pack + k*its median"}, |
| 21 | "rx_costmodel": {"op": "RX_CM_OP_MATVEC", "M": 256, "N": 1024, "state_bytes": 2107392, "core": "RX_CM_CORE_X925", "thermal_c": 36, "ps_per_call_median": 2191672, "ps_per_call_min": 2188109, "failed": 0}}, |
| 22 | {"sparsity": 0.33, "input_sha256": "0ec848449676acebda3145080eb4f2362a48deaed83ee6a185f34f0bf9a69650", "measured": true, "skip_reason": null, |
| 23 | "correctness": {"checks": 35, "failures": 0, "method": "y vs oma_rz_oracle for every x of the cell before timing, and every timed sample's y checksum vs the oracle checksum"}, |
| 24 | "calls_per_sample": 1024, "samples": 21, "retaken_samples": 1, "contaminated_samples": 0, "short_samples_retaken": 0, "short_samples_kept": 0, "shortest_sample_ns": 2240208, "cur_khz_at_cell_start": 3900000, |
| 25 | "latency_ns": {"min": 2187.703, "median": 2192.578, "mad": 2.625}, |
| 26 | "samples_ns_per_call": [2188.672, 2202.797, 2196.891, 2191.188, 2194.562, 2193.094, 2189.094, 2195.203, 2188.516, 2190.438, 2187.703, 2195.812, 2188.422, 2190.328, 2189.219, 2193.734, 2195.344, 2194.219, 2192.797, 2191.312, 2192.578], |
| 27 | "throughput": {"calls_per_s": 456084.1, "weights_per_s": 1.1956e+11, "bytes_per_s": 1.2049e+11}, |
| 28 | "bytes_moved_per_call": {"weight_bytes": 262144, "x_bytes": 1024, "y_bytes": 1024, "scratch_bytes": 0, "total": 264192}, |
| 29 | "footprint_bytes": 262144, "nnz": 175369, |
| 30 | "pack": {"ns_min": 152320.0, "ns_median": 165280.0, "ns_per_weight": 0.6305, "cheapest_to_pack": "MJ1_sdot", "break_even_calls": 4237, "break_even_note": "smallest k with pack + k*median <= cheapest pack + k*its median"}, |
| 31 | "rx_costmodel": {"op": "RX_CM_OP_MATVEC", "M": 256, "N": 1024, "state_bytes": 2107392, "core": "RX_CM_CORE_X925", "thermal_c": 36, "ps_per_call_median": 2192578, "ps_per_call_min": 2187703, "failed": 0}}, |
| 32 | {"sparsity": 0.66, "input_sha256": "4eca8024202b26018c512fa37a8134ecdab94b6d9bd07da46f5c34cca9443545", "measured": true, "skip_reason": null, |
| 33 | "correctness": {"checks": 35, "failures": 0, "method": "y vs oma_rz_oracle for every x of the cell before timing, and every timed sample's y checksum vs the oracle checksum"}, |
| 34 | "calls_per_sample": 1024, "samples": 21, "retaken_samples": 1, "contaminated_samples": 0, "short_samples_retaken": 0, "short_samples_kept": 0, "shortest_sample_ns": 2238800, "cur_khz_at_cell_start": 3900000, |
| 35 | "latency_ns": {"min": 2186.328, "median": 2191.234, "mad": 2.859}, |
| 36 | "samples_ns_per_call": [2189.156, 2195.797, 2188.625, 2193.266, 2195.250, 2194.188, 2188.984, 2187.969, 2188.375, 2192.703, 2192.234, 2194.938, 2194.859, 2188.000, 2188.609, 2191.234, 2193.141, 2194.156, 2188.469, 2186.328, 2186.828], |
| 37 | "throughput": {"calls_per_s": 456363.8, "weights_per_s": 1.1963e+11, "bytes_per_s": 1.2057e+11}, |
| 38 | "bytes_moved_per_call": {"weight_bytes": 262144, "x_bytes": 1024, "y_bytes": 1024, "scratch_bytes": 0, "total": 264192}, |
| 39 | "footprint_bytes": 262144, "nnz": 89420, |
| 40 | "pack": {"ns_min": 152800.0, "ns_median": 165776.0, "ns_per_weight": 0.6324, "cheapest_to_pack": "MJ1_sdot", "break_even_calls": 3760, "break_even_note": "smallest k with pack + k*median <= cheapest pack + k*its median"}, |
| 41 | "rx_costmodel": {"op": "RX_CM_OP_MATVEC", "M": 256, "N": 1024, "state_bytes": 2107392, "core": "RX_CM_CORE_X925", "thermal_c": 36, "ps_per_call_median": 2191234, "ps_per_call_min": 2186328, "failed": 0}} |
| 42 | ], |
| 43 | "informational": {"source_lines": 814, "unsafe_surface": 5, "unsafe_surface_rule": "occurrences of '*)' (pointer casts)", "source_note": "whole source file (may hold several realizations)", "defects_found_while_authoring": null} |
| 44 | } |