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 / asm_sdot__S3.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": "asm_sdot", "label": "int8 W row-major, hand AArch64 asm SDOT 4 rows x 64 B, masked overlap tail", "language": "asm-aarch64", "toolchain": "gnu-as 2.42", "flags": "cc -Wall -Wextra -Werror -O2 -march=armv8.6-a+dotprod+i8mm+sve -Isrc -c -o @OUT@ src/polyglot/asm/omx_sdot.S", "representation": "binary", "backend": "grace-cpu, one pinned core", "exact": 1, "weak_baseline": 0, "compiler_derived": 0, "toolchain_only": 0, "max_n": 16777215, "source": "src/polyglot/asm/omx_sdot.S"}, |
| 8 | "workload": {"id": "S3", "m": 4096, "n": 4096, "x_per_packed_w": 1, "regime": "memory bandwidth", "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/asm/omx_sdot.S.o", "object_sha256": "6da33744f00badd68f12f4b6ed9f724137fda7c37252d3366d40db7620807ee9", "object_text_bytes": 624, "run_symbol": "omx_asm_sdot_run", "run_symbol_bytes": 624, "pack_symbol": "pack_sdot", "pack_symbol_bytes": 488, "code_size_bytes": 1112, "code_parts": [{"part": "omx_asm_sdot_run", "bytes": 624}, {"part": "pack_sdot", "bytes": 488}], "code_size_rule": "run + pack function symbol sizes in the bench executable (callees not inlined are not counted; object_text_bytes is the whole object)", "compile_time_s_min_of_5": 0.0057, "compile_command": "cc -Wall -Wextra -Werror -O2 -march=armv8.6-a+dotprod+i8mm+sve -Isrc -c -o @OUT@ src/polyglot/asm/omx_sdot.S", "compile_note": "wall time, 5 runs, min; the object may hold several realizations; compiler run with the bench's original CPU affinity (20 cpus), not the timing pin"}, |
| 11 | "cells": [ |
| 12 | {"sparsity": 0.00, "input_sha256": "393d78506347626293284fcfdbacdae77c9a0b3dd48a2ab89dd9fe3f0de34c24", "measured": true, "skip_reason": null, |
| 13 | "correctness": {"checks": 26, "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": 4, "samples": 21, "retaken_samples": 0, "contaminated_samples": 0, "short_samples_retaken": 0, "short_samples_kept": 0, "shortest_sample_ns": 2159904, "cur_khz_at_cell_start": 3900000, |
| 15 | "latency_ns": {"min": 539976.000, "median": 545176.000, "mad": 1812.000}, |
| 16 | "samples_ns_per_call": [545884.000, 546992.000, 543068.000, 547508.000, 545940.000, 548456.000, 545100.000, 543200.000, 544560.000, 546772.000, 545968.000, 545240.000, 544560.000, 549672.000, 545176.000, 540240.000, 541768.000, 544004.000, 539976.000, 543364.000, 559688.000], |
| 17 | "throughput": {"calls_per_s": 1834.3, "weights_per_s": 3.0774e+10, "bytes_per_s": 3.0812e+10}, |
| 18 | "bytes_moved_per_call": {"weight_bytes": 16777216, "x_bytes": 4096, "y_bytes": 16384, "scratch_bytes": 0, "total": 16797696}, |
| 19 | "footprint_bytes": 16777216, "nnz": 16777216, |
| 20 | "pack": {"ns_min": 10577024.0, "ns_median": 10660192.0, "ns_per_weight": 0.6354, "cheapest_to_pack": "MJ1_sdot", "break_even_calls": 1675, "break_even_note": "smallest k with pack + k*median <= cheapest pack + k*its median"}, |
| 21 | "rx_costmodel": {"op": "RX_CM_OP_MATVEC", "M": 4096, "N": 4096, "state_bytes": 134283264, "core": "RX_CM_CORE_X925", "thermal_c": 36, "ps_per_call_median": 545176000, "ps_per_call_min": 539976000, "failed": 0}}, |
| 22 | {"sparsity": 0.33, "input_sha256": "3adf449e8a6850a7cb8af0178cc8b93eedd4e1fc4c0fdad4f50f1966ed46a505", "measured": true, "skip_reason": null, |
| 23 | "correctness": {"checks": 27, "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": 4, "samples": 21, "retaken_samples": 1, "contaminated_samples": 0, "short_samples_retaken": 0, "short_samples_kept": 0, "shortest_sample_ns": 1819536, "cur_khz_at_cell_start": 3900000, |
| 25 | "latency_ns": {"min": 454884.000, "median": 549408.000, "mad": 2768.000}, |
| 26 | "samples_ns_per_call": [546984.000, 545896.000, 545108.000, 549408.000, 550752.000, 560116.000, 550228.000, 549400.000, 557292.000, 559380.000, 555800.000, 454884.000, 549460.000, 548540.000, 551036.000, 549520.000, 546640.000, 547988.000, 543860.000, 552728.000, 545712.000], |
| 27 | "throughput": {"calls_per_s": 1820.1, "weights_per_s": 3.0537e+10, "bytes_per_s": 3.0574e+10}, |
| 28 | "bytes_moved_per_call": {"weight_bytes": 16777216, "x_bytes": 4096, "y_bytes": 16384, "scratch_bytes": 0, "total": 16797696}, |
| 29 | "footprint_bytes": 16777216, "nnz": 11244003, |
| 30 | "pack": {"ns_min": 10639632.0, "ns_median": 10670560.0, "ns_per_weight": 0.6360, "cheapest_to_pack": "MJ1_sdot", "break_even_calls": 264, "break_even_note": "smallest k with pack + k*median <= cheapest pack + k*its median"}, |
| 31 | "rx_costmodel": {"op": "RX_CM_OP_MATVEC", "M": 4096, "N": 4096, "state_bytes": 134283264, "core": "RX_CM_CORE_X925", "thermal_c": 36, "ps_per_call_median": 549408000, "ps_per_call_min": 454884000, "failed": 0}}, |
| 32 | {"sparsity": 0.66, "input_sha256": "6be2e9c6e2019284b5239f9ab88986e3bfd3309ac5d5d41f73095d13153defb3", "measured": true, "skip_reason": null, |
| 33 | "correctness": {"checks": 26, "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": 4, "samples": 21, "retaken_samples": 0, "contaminated_samples": 0, "short_samples_retaken": 0, "short_samples_kept": 0, "shortest_sample_ns": 2173312, "cur_khz_at_cell_start": 3900000, |
| 35 | "latency_ns": {"min": 543328.000, "median": 546476.000, "mad": 1372.000}, |
| 36 | "samples_ns_per_call": [552252.000, 566972.000, 549288.000, 545656.000, 549228.000, 544624.000, 551128.000, 547132.000, 544076.000, 547240.000, 545452.000, 547400.000, 543752.000, 547848.000, 546080.000, 544384.000, 546084.000, 546476.000, 543328.000, 546664.000, 545188.000], |
| 37 | "throughput": {"calls_per_s": 1829.9, "weights_per_s": 3.0701e+10, "bytes_per_s": 3.0738e+10}, |
| 38 | "bytes_moved_per_call": {"weight_bytes": 16777216, "x_bytes": 4096, "y_bytes": 16384, "scratch_bytes": 0, "total": 16797696}, |
| 39 | "footprint_bytes": 16777216, "nnz": 5701321, |
| 40 | "pack": {"ns_min": 10654320.0, "ns_median": 10744848.0, "ns_per_weight": 0.6404, "cheapest_to_pack": "MJ1_sdot", "break_even_calls": 524, "break_even_note": "smallest k with pack + k*median <= cheapest pack + k*its median"}, |
| 41 | "rx_costmodel": {"op": "RX_CM_OP_MATVEC", "M": 4096, "N": 4096, "state_bytes": 134283264, "core": "RX_CM_CORE_X925", "thermal_c": 36, "ps_per_call_median": 546476000, "ps_per_call_min": 543328000, "failed": 0}} |
| 42 | ], |
| 43 | "informational": {"source_lines": 214, "unsafe_surface": 163, "unsafe_surface_rule": "instruction lines (not blank, not comment, not directive, not label-only)", "source_note": "whole source file (may hold several realizations)", "defects_found_while_authoring": null} |
| 44 | } |