Skip to content

CSV-canonical for the 3 target-map dashboards - #65

Merged
gstoner merged 1 commit into
mainfrom
feat/target-map-csv-canonical
Jun 11, 2026
Merged

gstoner merged 1 commit into
mainfrom
feat/target-map-csv-canonical

Conversation

@gstoner

@gstoner gstoner commented Jun 11, 2026

Copy link
Copy Markdown
Owner

Closes the data-shaped CSV-canonical tail (COMPILER_AUDIT). The per-target capability matrices (apple / nvidia_sm90 / rocm) were the last row-table dashboards still byte-gated on Markdown; they now emit a canonical machine-readable CSV like the other 9.

  • apple_target_map.render_csv() + gpu_target_map.render_csv(target) emit one row per op (stable sort by (family, op_name); dtype lists comma-joined in a quoted cell).
  • The 3 registry entries gain csv_path + render_csv, so the CSV is the drift-gated artifact and the Markdown the human companion — verified a CSV edit now trips the drift gate.

12 dashboards are now CSV-canonical; the remaining markdown-only docs are narrative rollups, not row tables. Content consolidation stays deliberately deferred (Next Work #6 reassessment).

Tests: test_generated_docs_registry + test_apple_target_map green (40); drift gate in sync; mypy clean.

🤖 Generated with Claude Code

Closes the data-shaped CSV-canonical tail (COMPILER_AUDIT). The per-target
capability matrices were the last row-table dashboards still byte-gated on
Markdown; they now emit a canonical machine-readable CSV like the other 9.

- apple_target_map.render_csv() — one row per op (op_name, family, cpu/gpu
  status/framework/dtypes/symbol/dispatch, proof_test, notes), sorted by
  (family, op_name); dtype lists comma-joined in a quoted cell.
- gpu_target_map.render_csv(target) — per-target rows (op_name, family, status,
  dtypes, arch_min, tile_shape, expected_mfu, roofline, notes).
- generated_docs registry: the 3 target-map entries gain csv_path + render_csv,
  so the CSV becomes the drift-gated artifact and the Markdown the human
  companion (verified: a CSV edit now trips the drift gate).

12 dashboards are now CSV-canonical; the remaining markdown-only docs are
narrative rollups, not row tables. Content consolidation stays deliberately
deferred (Next Work #6 reassessment).

Tests: test_generated_docs_registry + test_apple_target_map green (40); drift
gate in sync; mypy clean.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@gstoner
gstoner merged commit a53e628 into main Jun 11, 2026
22 checks passed
@gstoner
gstoner deleted the feat/target-map-csv-canonical branch June 11, 2026 22:01

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 554fd29104

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

csv_path=_GEN / "verifier_coverage.csv", render_csv=_r_verifier_csv,
),
# ── Target maps ──
# ── Target maps (CSV-canonical 2026-06-11) ──

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Update the legacy target-map render/check paths

When these target maps become CSV-canonical here, the existing per-target workflows still only operate on Markdown: tessera.cli.apple_target_map --render and tessera.cli.gpu_target_map --render call write_doc() which writes only .md, while scripts/validate.sh still runs the GPU CLI --check against .md. In the scenario where a target-map source changes and a developer follows the old CLI/test failure message, the Markdown gets refreshed but the new canonical CSV remains stale, so python -m tessera.compiler.generated_docs --check still fails. Please either route those CLIs/checks through generated_docs or teach them to write/check the CSV artifact too.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant