Commit Graph
5 Commits
Author SHA1 Message Date
Ranveer Soni 285d0d7926 docs: describe the profiled native backend entry point
Signed-off-by: Ranveer Soni <git@ranveersoni.me>
2026-11-22 14:23:35 +05:30
Ranveer Soni 90e984dc77 feat: add correctness-gated benchmark harness and a second interpreter
Add a manifest-driven benchmark binary that verifies each fixture against
the independent reference and the GPU before timing it, reports per-stage
CPU and GPU durations with medians and quartiles, and writes metadata,
raw JSON and a markdown report. Extend the Metal backend with a profiled
execution path that reads command-buffer GPU start and end times.

Add a structurally independent second interpreter for the demo subset in
the semantic-review suite. It imports neither the decoder, ISA nor
reference and re-derives the encodings from the RDNA 2 field layout. A
differential test compares both interpreters across all three fixtures on
boundary-dense and pseudorandom inputs.

Signed-off-by: Ranveer Soni <git@ranveersoni.me>
2026-11-22 14:20:32 +05:30
Ranveer Soni 42fb3f67ad test: verify gfx1030 decoding against LLVM and the reference
Compare decoded operations, operands, and instruction spans for all supported forms. Cover literal and register boundaries and distinguish malformed streams from valid encodings outside the subset.

Signed-off-by: Ranveer Soni <git@ranveersoni.me>
2026-11-22 13:56:16 +05:30
Ranveer Soni c7ce367d16 test: extend decoder verification and document runtime licensing
Compare high vector-register encodings against LLVM and retain the upstream objc2 MIT text. Record the attribution and SDK redistribution questions that still block license sign-off.

Signed-off-by: Ranveer Soni <git@ranveersoni.me>
2026-11-22 13:50:05 +05:30
Ranveer Soni 96cff7c66e feat: establish native RDNA-to-Metal recompilation foundation
Add gfx1030 decoding, semantic validation, Metal shader generation, and an independent CPU interpreter for three reproducible compute fixtures. Include native Metal tests, LLVM fixture verification, and the existing CI and Phase 01 handoff.

Verified formatting, all-features Clippy and tests, LLVM decoding, native ARM64 linkage, and all three demo fixtures with Metal API and shader validation enabled.

Signed-off-by: Ranveer Soni <git@ranveersoni.me>
2026-11-22 13:41:55 +05:30