Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Appendix — Report → Wiki-Page Cross-Reference Map

This appendix is a provenance index over neuronx_cc 2.24.5133.0+58f8de22 wiki artifacts, not a binary-RE page. It is generated by scanning two corpora that live in this repository: the raw evidence reports under neuronx-cc/raw/ (the D-*.txt deep-dive notes) and the published wiki pages under neuronx-cc/wiki/src/. Every edge below is a real rg citation found in a committed page — no mapping is hand-asserted. Because it is repo-derived, this page has no version-pinned addresses of its own; its accuracy is exactly the accuracy of the citations the authors wrote, and it goes stale the moment a page adds, drops, or renames a D-ID. Regenerate it (see §5) after any wiki edit that touches an evidence anchor.

Abstract

Each normative wiki page anchors its claims to one or more deep-dive reports — the D-<family><n>.txt notes under raw/ that record the binary-analysis evidence a page is built on (a disassembly trace, an enum dump, a struct layout, a verifier walk). A page cites a report by writing its D-ID inline in a BACKING: line or an evidence callout. This appendix inverts and totals those citations so a maintainer can answer two questions in O(1):

  • Forward (§2): given a report D-Xnn, which page(s) consume it? — so editing or correcting a report immediately shows every page that must be re-checked.
  • Reverse (§3): given a page, which reports back it? — so a reviewer can pull the exact evidence behind a page without re-grepping.

The index is also a completeness audit. It flags two failure modes that a provenance map exists to catch: a report cited by zero pages (an unconsumed evidence note — work captured but not yet written up), and a D-ID cited by a page that does not exist in raw/ (a dangling citation — a claim whose evidence is missing or mis-typed). The gap census is §4.

The map is the substance of this page; the prose is scaffolding. Its value is completeness and accuracy of the edges, not narrative. Every (report → page) row was produced by rg -l '\bD-ID\b' against wiki/src/, and every page slug named is a file that exists on disk.

Report corpusneuronx-cc/raw/D-*.txt506 files, 504 distinct D-IDs (D-P02/D-P02b and two D-Z06 variants share a stem)
D-ID grammarD-<FAMILY><NN> — family is 1–2 uppercase letters (A..Z, AA..AG), NN is a zero-padded ordinal; 33 families
Wiki corpusneuronx-cc/wiki/src/**/*.md
Reports consumed235 / 504 distinct reports are cited by ≥ 1 page
Reports unconsumed269 / 504 — cited by zero pages (evidence captured, not yet written up) — §4.1
Dangling citations0 — every D-ID cited by a page resolves to a real raw/ file — §4.2
Pages citing ≥ 1 report170 distinct .md files
Method / confidence model§0.3 Methodology & Confidence
Sibling provenance index§14.4 Symbol / Offset Index

0. How to read an edge

A single edge is a citation. When bir/dtype-tables.md contains the string D-D04, that is the page declaring "the dtype-table claims on this page are backed by the evidence in raw/D-D04-dtype-tables.txt." This appendix records that as the forward edge D-D04 → bir/dtype-tables.md and the reverse edge bir/dtype-tables.md ← D-D04.

Three properties of the citation graph a maintainer should know:

  • Many-to-many. A report can back several pages (a struct-layout report like D-E12 accesspattern struct feeds four pages), and a page can rest on several reports (nki/bircodegen-collective.md cites eleven). The map below lists every page for each report (forward) and every report for the highest-fan-in pages (reverse).
  • Word-boundary matching. D-IDs are matched with \bD-[A-Z]+[0-9]+\b. This is deliberate: a naïve rg 'D-SB2' would false-positive on the hardware term GPSIMD-SB2SB in walrus/legality-dispatch.md. The \b…\b anchoring rejects that substring, which is why the dangling count is exactly 0 rather than a spurious 1. Any future regeneration must keep the boundary anchors.
  • Stem vs file. Two reports were split across a base note and a continuation (D-P02 + D-P02b, plus two D-Z06 variants). They share one D-ID stem, so the corpus is 506 files / 504 stems. Forward edges key on the stem.

QUIRK — a D-ID appearing in a page is not proof the page is correct, only that it claims that report as evidence. This index audits linkage, not truth. Truth is the job of each page's own adversarial-verify section and of §0.3. A row here means "this page says report X backs it"; whether the page read X faithfully is out of scope.


1. Family map

Reports are grouped by the leading-letter family, which tracks the analysis theme the note belongs to. Knowing the family lets a maintainer guess a report's subject from its D-ID alone. The table gives each family's theme, total stem count, and how many of those stems are currently consumed by at least one page.

FamilyTheme (from report titles)StemsConsumedUnconsumed
D-A*front-end / driver / pipeline / job registry1394
D-AA*conv & resize device kernels936
D-AB*distribution / SPMD / sharding954
D-AC*custom-op packaging / GPSIMD memory model761
D-AD*perf-sim / metric-store / profiling633
D-AE*HBM / DRAM geometry413
D-AF*CompileCommand flag catalog532
D-AG*PWP / activation profile / error binding1037
D-B*HLO legalize / collective combiners / layout321616
D-C*op fusion / tensorizer / MLIR pipeline241212
D-D*enums / dtype / memory taxonomy14131
D-E*valid-engines / JSON / structs / legality221210
D-F*numeric simulators (matmul/act/MX/collective)18612
D-G*BirVerifier / barrier-check / per-op verify1495
D-H*NKI translate / allocator / local collectives401426
D-I*KLIR / BIR codegen dispatch28919
D-J*per-gen ISA encoders (CoreV2/V3/V4)361224
D-K*allocator drivers / loop-opt / cost stats20713
D-L*layout autotuner / reward loop1028
D-M*engine-info / PWP / per-engine ISA16106
D-N*tensor descriptors / indirect addressing12210
D-O*NKI production kernels (MoE/attn/norm)30246
D-P*NeuronCodegen / BIR-codegen / IR builder23148
D-Q*custom-op wire / GPSIMD builtins1064
D-R*Pelican / DAP debugger / BIR hierarchy1037
D-S*NEFF / BIR-JSON serialization1358
D-T*PWP bucket / control blob826
D-U*Penguin pass roster / tensorizer / IR model835
D-V*per-engine ISA encode (matmul/pool/MX)16412
D-W*NKI ISA / sema / type system / bindings1275
D-X*dtype promotion / cast / numeric results1138
D-Y*ISL dependence / Tonga simplifier835
D-Z*dynamic DMA / dynamic-shape synthesis843
Total33 families504235269

2. Forward map — report → consuming page(s)

The forward index, grouped by family. Each row is report → the page(s) that cite it. Only consumed reports appear here; the 269 unconsumed reports are listed in §4.1. Page slugs are relative to wiki/src/.

D-A* family

ReportTitleConsuming page(s)
D-A01hlo2penguin mainfrontend/hlo2penguin-entry.md hlo-opt/hlo-ingestion-boundary.md hlo-opt/neuron-dialect-registry.md
D-A03hlo opt pass registryhlo-opt/allreduce-dynslice-rewrites.md hlo-opt/pass-registry.md hlo-opt/topk-legalize.md
D-A05compile pipelinefrontend/opt-level-planes.md
D-A06job registryfrontend/job-registry.md frontend/static-io-transpose.md
D-A09client daemon ipcfrontend/client-daemon-ipc.md
D-A10private toolsfrontend/job-registry.md
D-A11walrus driver clifrontend/walrus-driver-cli.md walrus/local-collectives.md
D-A12io transpose schemafrontend/static-io-transpose.md
D-A13error catalogappendix/error-message-catalog.md frontend/diagnostic-error-catalog.md nki/spmd-programming-model.md

D-AA* family

ReportTitleConsuming page(s)
D-AA04conv device lowering selectionnki/conv-device-lowering.md
D-AA05conv2d pbp kernelsnki/conv2d-pbp.md
D-AA07resize kernelsnki/resize-kernels.md

D-AB* family

ReportTitleConsuming page(s)
D-AB01spmd partitioner driverdistribution/distribution-strategy-seeding.md distribution/spmd-partitioner-driver.md
D-AB05sharding algebradistribution/sharding-algebra.md
D-AB06shardy hlosharding bridgedistribution/distribution-strategy-seeding.md distribution/shardy-hlosharding-bridge.md
D-AB07mesh replica group mathdistribution/mesh-replica-group-math.md distribution/three-d-rank-model.md
D-AB08lnc sharding constraintdistribution/distribution-strategy-seeding.md distribution/lnc-sharding-constraint.md frontend/flag-catalog.md

D-AC* family

ReportTitleConsuming page(s)
D-AC01ucode lib packagingcustom-ops/findcustomopdata-staging.md
D-AC02findcustomopdata stagingcustom-ops/findcustomopdata-staging.md
D-AC03custom op wire validatorscustom-ops/customop-wire-validators.md
D-AC05aten c10 dispatch surfacecustom-ops/aten-c10-surface.md
D-AC06percpu link merge topologycustom-ops/gpsimd-xtensa-layout.md
D-AC07gpsimd memory model reconciliationcustom-ops/two-gpsimd-reconciliation.md

D-AD* family

ReportTitleConsuming page(s)
D-AD01perf sim internalswalrus/perfsim-cost-model.md
D-AD03metricstorewalrus/metricstore.md
D-AD06nki profile ntff contractnki/entrypoints.md

D-AE* family

ReportTitleConsuming page(s)
D-AE03hbm dram geometryarch/dram-hbm-geometry.md

D-AF* family

ReportTitleConsuming page(s)
D-AF01compilecommand flags a–mdistribution/distribution-strategy-seeding.md
D-AF02compilecommand flags n–zfrontend/opt-level-planes.md
D-AF05options defaults configfrontend/subtool-argv.md

D-AG* family

ReportTitleConsuming page(s)
D-AG07pwp bkt ctrl blobactivation/bkt-ctrl-blob.md activation/loadactfuncset.md
D-AG08activation profile jsonactivation/activation-profile-json.md
D-AG09errormessages bindingappendix/error-message-catalog.md frontend/diagnostic-error-catalog.md

D-B* family

ReportTitleConsuming page(s)
D-B01argmax legalizehlo-opt/argmax-argmin-legalize.md
D-B02softmax legalizehlo-opt/softmax-legalize.md
D-B03topk legalizehlo-opt/topk-legalize.md
D-B04mx legalizeappendix/master-enum-dtype-table.md bir/dtype-tables.md
D-B08allreduce combinerhlo-opt/collective-combiners.md
D-B09reducescatter combinerhlo-opt/collective-combiners.md
D-B10allgather combinerhlo-opt/collective-combiners.md
D-B13ccops decomposefrontend/diagnostic-error-catalog.md hlo-opt/ccops-decompose-legalize.md
D-B14collectives to cchlo-opt/hlo-ingestion-boundary.md
D-B15stream channel idhlo-opt/collective-stream-channel-id.md nki/bircodegen-collective.md
D-B17whileloop collective motionhlo-opt/whileloop-collective-codemotion.md
D-B23dedup permutehlo-opt/allreduce-dynslice-rewrites.md
D-B24looped einsumhlo-opt/looped-einsum-collective-matmul.md
D-B28boundary markershlo-opt/boundary-markers-layer-cut.md
D-B29control depshlo-opt/hlo-ingestion-boundary.md
D-B31layout passeshlo-opt/layout-passes.md

D-C* family

ReportTitleConsuming page(s)
D-C01fuse dotlogistichlo-opt/op-fusion-dot-elementwise.md
D-C02fuse elementwisehlo-opt/op-fusion-dot-elementwise.md
D-C04fuse transcendentalhlo-opt/op-fusion-dot-elementwise.md
D-C07controldep tuplehlo-opt/controldep-tuple-flatten-mlir.md
D-C09canon tensorizer 2hlo-opt/canonicalize-for-tensorizer.md nki/resize-kernels.md
D-C10tensorizer legalizehlo-opt/tensorizer-legalization.md
D-C11canonicalize convhlo-opt/conv-canonicalization.md
D-C12schedule fusionhlo-opt/schedule-fusion-composite.md
D-C14pyprinter driverhlo-opt/mhlo-to-python-printer-driver.md
D-C15pyprinter elementwisehlo-opt/mhlo-to-python-printer-driver.md
D-C21dialects g2shlo-opt/neuron-dialect-registry.md
D-C22mlir pipeline orderhlo-opt/hlo2penguin-mlir-pipeline.md

D-D* family

ReportTitleConsuming page(s)
D-D01instructiontypeappendix/master-enum-dtype-table.md bir/codegen-dve-rng-control.md walrus/dma-engine-binding.md walrus/dma-queues.md
D-D02aluop modesarch/pool-engine.md bir/aluop-modes.md bir/codegen-dve-rng-control.md
D-D03engine archwalrus/dma-engine-binding.md walrus/engine-lowering-set.md walrus/parserdumper.md
D-D04dtype tablesappendix/master-enum-dtype-table.md bir/cross-language-wirekeys.md bir/dtype-tables.md bir/value-model.md isa/neuron-isa-tpb-capstone.md nki/isa-compute-intrinsics.md numerics/mx-matmul-legality.md
D-D05memory taxonomybir/memory-location.md nki/isa-compute-intrinsics.md walrus/allocator-drivers.md walrus/parserdumper.md walrus/peephole-constprop-remat.md walrus/vnsplitter-shrink.md
D-D07collective enumsbir/op-family-enums.md nki/bircodegen-collective.md walrus/local-collectives.md
D-D08matmul branch enumsbir/codegen-dve-rng-control.md
D-D09dma enumsappendix/master-enum-dtype-table.md bir/op-family-enums.md walrus/dma-engine-binding.md walrus/parserdumper.md
D-D10rng sema enumsappendix/master-enum-dtype-table.md bir/op-family-enums.md
D-D11activation enumsactivation/act-function-catalog.md appendix/master-enum-dtype-table.md
D-D12attr arg enumsbir/value-model.md formats/neff-feature-flags.md walrus/parserdumper.md
D-D13remaining enumsappendix/master-enum-dtype-table.md bir/op-family-enums.md nki/neuroncodegen-control.md
D-D14enum crosswalkappendix/master-enum-dtype-table.md bir/op-family-enums.md

D-E* family

ReportTitleConsuming page(s)
D-E02validengines activationactivation/act-function-catalog.md
D-E03validengines dma syncwalrus/legality-dispatch.md
D-E06json activation reducewalrus/parserdumper.md
D-E07json dmabir/sim-elementwise-datamove.md
D-E09json collective bn rngnki/bircodegen-collective.md
D-E12accesspattern structbir/value-model.md walrus/engine-lowering-set.md walrus/racecheck.md walrus/vnsplitter-shrink.md
D-E13memorylocation structbir/memory-location.md walrus/memreserve-kernel-inline.md walrus/reorder-nonssa-presched.md walrus/sbuf-liveness-interference.md
D-E14argument register structbir/codegen-dve-rng-control.md bir/codegen-sub-encoders.md bir/value-model.md
D-E16loopaxis dmaqueue syncwalrus/dma-queues.md
D-E19dependency sync modelbir/codegen-sub-encoders.md walrus/dma-queues.md walrus/engine-lowering-set.md walrus/reorder-nonssa-presched.md
D-E21legality dispatchnumerics/mx-matmul-legality.md
D-E22libbir verifierswalrus/local-collectives.md

D-F* family

ReportTitleConsuming page(s)
D-F02sim matmulnumerics/mx-matmul-legality.md numerics/mx-microscaling.md
D-F03sim activation pwpactivation/pwp-model.md
D-F04sim arithmeticnumerics/numeric-negative-results.md
D-F08sim collectivebir/codegen-dve-rng-control.md distribution/three-d-rank-model.md nki/bircodegen-collective.md
D-F13sim mx quantizenumerics/mx-matmul-legality.md numerics/mx-microscaling.md numerics/numeric-negative-results.md
D-F18pwp simactivation/pwp-model.md

D-G* family

ReportTitleConsuming page(s)
D-G01birverifier structurewalrus/legality-dispatch.md
D-G02verify computewalrus/birverifier-per-op.md
D-G03verify dma syncwalrus/dma-queues.md
D-G04verify collective controlwalrus/birverifier-per-op.md
D-G05mx matmul verifynumerics/mx-matmul-legality.md walrus/birverifier-per-op.md
D-G08barriercheck rangerwalrus/barriercheck.md
D-G10parserdumperwalrus/parserdumper.md
D-G11lnc verifierwalrus/barriercheck.md walrus/local-collectives.md
D-G14perfsimwalrus/perfsim-cost-model.md

D-H* family

ReportTitleConsuming page(s)
D-H01translate nki driverwalrus/memreserve-kernel-inline.md
D-H03lnc splitterwalrus/bir-linker.md walrus/local-collectives.md
D-H06dma legalizewalrus/local-collectives.md
D-H10psum acnumerics/mixed-precision-accumulation.md
D-H13pre schedbir/codegen-sub-encoders.md
D-H16memreserve inlinenki/three-sink-kernel-model.md walrus/memreserve-kernel-inline.md
D-H17allocator wiringpenguin/dge-level-dynamic-dma.md
D-H21depsbir/codegen-sub-encoders.md
D-H23local collectivesnki/bircodegen-collective.md walrus/bir-linker.md walrus/local-collectives.md
D-H24shared lifetimeswalrus/bir-linker.md walrus/shared-lifetimes.md
D-H26perfsim wiringwalrus/perf-sim-wiring.md
D-H35lower controlbir/codegen-dve-rng-control.md
D-H38engine loweringactivation/set-cover.md
D-H40late passeswalrus/vnc-cross-core-link.md

D-I* family

ReportTitleConsuming page(s)
D-I01klir dispatchbir/codegen-sub-encoders.md
D-I09codegen collectivenki/bircodegen-collective.md
D-I10codegen permute sendrecvnki/bircodegen-collective.md
D-I11codegen barrier rankbir/codegen-dve-rng-control.md distribution/three-d-rank-model.md nki/bircodegen-collective.md
D-I12codegen maxindexnki/index-gather-broadcast.md
D-I17codegen control registerbir/codegen-sub-encoders.md
D-I21codegen operandbir/codegen-sub-encoders.md
D-I23codegen assemblybir/codegen-sub-encoders.md
D-I28nkiklir kernel nodenki/three-sink-kernel-model.md

D-J* family

ReportTitleConsuming page(s)
D-J03cv2 pool reduceisa/neuron-isa-tpb-capstone.md
D-J04cv2 tensorscalarisa/tensorscalar-encoding.md
D-J05cv2 tensortensor fillisa/neuron-isa-tpb-capstone.md
D-J06cv2 copy shuffleisa/neuron-isa-tpb-capstone.md
D-J09cv2 bnisa/batchnorm-encoding.md
D-J13cv2 rng activationactivation/loadactfuncset.md
D-J14cv2 miscarch/sp-engine.md custom-ops/customop-codegen.md
D-J20cv4 quantizemxnumerics/numeric-negative-results.md
D-J28codegenmodewalrus/codegen-driver.md
D-J29codegen driverwalrus/codegen-driver.md walrus/legality-dispatch.md
D-J32opcode masterisa/neuron-isa-tpb-capstone.md
D-J34neff filewriterformats/neff-json-sidecars.md

D-K* family

ReportTitleConsuming page(s)
D-K01allocator driverwalrus/allocator-drivers.md walrus/pass-pipeline-optlevels.md
D-K10psum allocatorarch/sbuf-psum-geometry.md
D-K12full unrollwalrus/translate-nki-unroll.md
D-K14loopopt transformspenguin/backend-dependence-distance.md
D-K15sb size legalizewalrus/sb-size-legalization.md
D-K19optlevel7 pipelinefrontend/opt-level-planes.md
D-K20cost statswalrus/metricstore.md

D-L* family

ReportTitleConsuming page(s)
D-L02layout autotunerwalrus/autotuner-orchestration.md
D-L10reward loopwalrus/autotuner-orchestration.md

D-M* family

ReportTitleConsuming page(s)
D-M04act infoactivation/act-function-catalog.md
D-M05pwp profilesactivation/activation-profile-json.md activation/pwp-model.md
D-M06pwp binsactivation/bkt-ctrl-blob.md
D-M07loadactfuncsetactivation/loadactfuncset.md
D-M08pe isafront/worked-example-matmul.md isa/neuron-isa-tpb-capstone.md
D-M10sp isaisa/neuron-isa-tpb-capstone.md
D-M11gpsimd isacustom-ops/two-gpsimd-reconciliation.md walrus/local-collectives.md
D-M12engineinfoarch/dram-hbm-geometry.md arch/sbuf-psum-geometry.md
D-M15vestigial gensarch/vestigial-generations.md
D-M16withln targetactivation/withln-vs-trainium.md

D-N* family

ReportTitleConsuming page(s)
D-N02tensor123isa/indirect-descriptors.md
D-N05indirectisa/indirect-descriptors.md

D-O* family

ReportTitleConsuming page(s)
D-O01moe cte dispatchnki/moe-cte-prefill.md
D-O02bwmm shard blocknki/moe-cte-prefill.md
D-O03bwmm shard inki/moe-cte-prefill.md
D-O04bwmm shard block mxnki/moe-cte-prefill.md
D-O05bwmm shard i mxnki/moe-cte-prefill.md
D-O06moe block tkgnki/moe-decode-tkg.md
D-O08moe tkg mx projnki/moe-decode-tkg.md
D-O09affinity maskingnki/moe-decode-tkg.md
D-O10router topknki/router-topk.md
D-O11rmsnormnki/normalization-kernels.md
D-O12layernormnki/normalization-kernels.md
D-O14attention tkgnki/attention-tkg.md
D-O15attention bwdnki/attention-bwd.md
D-O16gen masknki/attention-tkg.md
D-O18mlpnki/dense-mlp.md
D-O22index broadcastnki/index-gather-broadcast.md
D-O23nki allocator tilingnki/nkilib-infrastructure.md
D-O24common typesnki/nkilib-infrastructure.md
D-O25moe experimentalnki/experimental-kernels.md
D-O26fg collectivesnki/bircodegen-collective.md nki/experimental-kernels.md
D-O27conv lossnki/experimental-kernels.md
D-O28transformer blocknki/experimental-kernels.md
D-O29mxfp loadnki/moe-cte-prefill.md nki/mxfp-weight-scale-load.md
D-O30prod kernelsnki/internal-kernel-registry.md nki/production-kernel-inventory.md

D-P* family

ReportTitleConsuming page(s)
D-P01neuroncodegen matmulnki/neuroncodegen-forward-builder.md
D-P02neuroncodegen tensorops (+D-P02b builder)nki/nkicodegen-printer.md
D-P04neuroncodegen collectivenki/bircodegen-collective.md nki/neuroncodegen-collectives.md
D-P06neuroncodegen macronki/neuroncodegen-tiling.md
D-P11bircodegen dmanki/bircodegen-dma.md
D-P12bircodegen collectivenki/bircodegen-collective.md
D-P13bircodegen macronki/three-sink-kernel-model.md
D-P14frontend bridgenki/frontend-bridge-cache.md
D-P15bircodegen apnki/bircodegen-ap.md
D-P18internal registrynki/internal-kernel-registry.md
D-P19nki cachenki/frontend-bridge-cache.md
D-P20tracekernelnki/trace-context.md
D-P21decoratorsnki/option-alloc-decorators.md
D-P22irbuildernki/isa-compute-intrinsics.md nki/isa-reduce-dve-dma.md nki/tile-tensor-model.md penguin/ir-mlir-bir-mapping.md

D-Q* family

ReportTitleConsuming page(s)
D-Q04builtin sortcustom-ops/bitonic-sort-topk.md custom-ops/gpsimd-xtensa-layout.md
D-Q05customop abicustom-ops/gpsimd-xtensa-layout.md
D-Q06macro lowererscustom-ops/customop-full-chain.md
D-Q08customop wirecustom-ops/customop-codegen.md custom-ops/customop-full-chain.md custom-ops/customop-wire-layout.md isa/collective-customop-encoding.md nki/neuroncodegen-builtin-customop.md
D-Q09customop codegencustom-ops/customop-codegen.md
D-Q10customop chaincustom-ops/customop-full-chain.md

D-R* family

ReportTitleConsuming page(s)
D-R03pelican hierarchybir/pelican-hierarchy.md
D-R08dap typesbir/birsim-dap-debugger.md
D-R10bir structural hierarchybir/value-model.md

D-S* family

ReportTitleConsuming page(s)
D-S01neff elf layoutformats/neff-container.md
D-S02neff jsondistribution/three-d-rank-model.md formats/neff-json-sidecars.md
D-S03neff bomformats/per-engine-bin.md
D-S04neff featuresformats/neff-feature-flags.md
D-S06bir tojsonbir/json-writer.md

D-T* family

ReportTitleConsuming page(s)
D-T04pwp bktactivation/bkt-ctrl-blob.md
D-T05pwp ctrlactivation/bkt-ctrl-blob.md activation/set-cover.md

D-U* family

ReportTitleConsuming page(s)
D-U01penguin pass rosterfrontend/opt-level-planes.md
D-U02penguin tensorizerpenguin/affine-expr-algebra.md penguin/axis-loop-model.md penguin/tensor-op-family.md
D-U08penguin ir modelpenguin/affine-expr-algebra.md penguin/axis-loop-model.md penguin/tensor-op-family.md penguin/tonga-isl-simplifier.md

D-V* family

ReportTitleConsuming page(s)
D-V01pe matmul corev2 encodenumerics/mixed-precision-accumulation.md
D-V03mx matmul quantize corev4 encodenki/isa-compute-intrinsics.md
D-V05pool reduce encodeisa/dve-datamove-encoding.md
D-V06isa enum ordinalsappendix/master-enum-dtype-table.md isa/sp-register-encoding.md isa/tensortensor-encoding.md

D-W* family

ReportTitleConsuming page(s)
D-W02nki isa reduce dve dmanki/isa-compute-intrinsics.md
D-W04nki sema assertsnki/sema-legality.md
D-W05nki err catalogappendix/error-message-catalog.md nki/sema-legality.md
D-W09nki type systemnki/dtype-facade.md nki/type-metaclasses.md nki/type-system.md
D-W10nki mask predicatenki/mask-predicate-algebra.md
D-W11nki tracing spmdnki/nki-ctx-scopes.md nki/option-alloc-decorators.md
D-W12framework binding surfacenki/entrypoints.md nki/option-alloc-decorators.md

D-X* family

ReportTitleConsuming page(s)
D-X05dtype promotion latticenumerics/dtype-catalog.md numerics/dtype-promotion-lattice.md
D-X06cast to new dtypenumerics/dtype-catalog.md numerics/numeric-negative-results.md
D-X11numeric negative resultshlo-opt/hlo-ingestion-boundary.md numerics/numeric-negative-results.md

D-Y* family

ReportTitleConsuming page(s)
D-Y01penguin isl dependencepenguin/isl-dependence-graph.md penguin/tonga-isl-simplifier.md
D-Y05tonga isl simplifierpenguin/tonga-isl-simplifier.md
D-Y06affine isl pelican bridgepenguin/affine-expr-algebra.md

D-Z* family

ReportTitleConsuming page(s)
D-Z02dge level dynamic dmapenguin/dge-level-dynamic-dma.md walrus/dmametrics-profiler.md
D-Z03dynamic for looppenguin/dynamic-for-loop.md
D-Z06symbolic ap register (alu + lowering)penguin/tonga-isl-simplifier.md
D-Z07dynamic shape system synthesispenguin/dynamic-shape-synthesis.md

3. Reverse map — page → backing reports

The inverse of §2: for the highest-fan-in pages (those resting on the most distinct reports), the reports that back them. A page absent here either cites a single report — read it off the forward map — or cites none. The full reverse map for every page is reconstructible from §2 by transposing the edges; this section spotlights the pages a reviewer most wants to audit, because they integrate the most evidence.

Page# reportsBacking reports
nki/bircodegen-collective.md11D-B15 D-D07 D-E09 D-F08 D-H23 D-I09 D-I10 D-I11 D-O26 D-P04 D-P12
appendix/master-enum-dtype-table.md9D-B04 D-D01 D-D04 D-D09 D-D10 D-D11 D-D13 D-D14 D-V06
bir/codegen-sub-encoders.md8D-E14 D-E19 D-H13 D-H21 D-I01 D-I17 D-I21 D-I23
walrus/local-collectives.md8D-A11 D-D07 D-E22 D-G11 D-H03 D-H06 D-H23 D-M11
bir/codegen-dve-rng-control.md7D-D01 D-D02 D-D08 D-E14 D-F08 D-H35 D-I11
isa/neuron-isa-tpb-capstone.md7D-D04 D-J03 D-J05 D-J06 D-J32 D-M08 D-M10
walrus/parserdumper.md6D-D03 D-D05 D-D09 D-D12 D-E06 D-G10
nki/moe-cte-prefill.md6D-O01 D-O02 D-O03 D-O04 D-O05 D-O29
bir/value-model.md5D-D04 D-D12 D-E12 D-E14 D-R10
numerics/numeric-negative-results.md5D-F04 D-F13 D-J20 D-X06 D-X11
numerics/mx-matmul-legality.md5D-D04 D-E21 D-F02 D-F13 D-G05
bir/op-family-enums.md5D-D07 D-D09 D-D10 D-D13 D-D14
nki/isa-compute-intrinsics.md5D-D04 D-D05 D-P22 D-V03 D-W02
distribution/distribution-strategy-seeding.md4D-AB01 D-AB06 D-AB08 D-AF01
walrus/dma-queues.md4D-D01 D-E16 D-E19 D-G03
penguin/tonga-isl-simplifier.md4D-U08 D-Y01 D-Y05 D-Z06

4. Gaps — unconsumed reports and dangling citations

A provenance index is only as useful as the gaps it surfaces. Two are actionable.

4.1 Unconsumed reports (269)

These reports exist in raw/ but are cited by zero wiki pages. They represent evidence that was captured during analysis but is not yet written up in a normative page — the to-do backlog of the wiki, not an error. A maintainer planning new pages should mine this list first. Listed by family (the consumed ones are in §2):

D-A* (4): D-A02, D-A04, D-A07, D-A08

D-AA* (6): D-AA01, D-AA02, D-AA03, D-AA06, D-AA08, D-AA09

D-AB* (4): D-AB02, D-AB03, D-AB04, D-AB09

D-AC* (1): D-AC04

D-AD* (3): D-AD02, D-AD04, D-AD05

D-AE* (3): D-AE01, D-AE02, D-AE04

D-AF* (2): D-AF03, D-AF04

D-AG* (7): D-AG01, D-AG02, D-AG03, D-AG04, D-AG05, D-AG06, D-AG10

D-B* (16): D-B05, D-B06, D-B07, D-B11, D-B12, D-B16, D-B18, D-B19, D-B20, D-B21, D-B22, D-B25, D-B26, D-B27, D-B30, D-B32

D-C* (12): D-C03, D-C05, D-C06, D-C08, D-C13, D-C16, D-C17, D-C18, D-C19, D-C20, D-C23, D-C24

D-D* (1): D-D06

D-E* (10): D-E01, D-E04, D-E05, D-E08, D-E10, D-E11, D-E15, D-E17, D-E18, D-E20

D-F* (12): D-F01, D-F05, D-F06, D-F07, D-F09, D-F10, D-F11, D-F12, D-F14, D-F15, D-F16, D-F17

D-G* (5): D-G06, D-G07, D-G09, D-G12, D-G13

D-H* (26): D-H02, D-H04, D-H05, D-H07, D-H08, D-H09, D-H11, D-H12, D-H14, D-H15, D-H18, D-H19, D-H20, D-H22, D-H25, D-H27, D-H28, D-H29, D-H30, D-H31, D-H32, D-H33, D-H34, D-H36, D-H37, D-H39

D-I* (19): D-I02, D-I03, D-I04, D-I05, D-I06, D-I07, D-I08, D-I13, D-I14, D-I15, D-I16, D-I18, D-I19, D-I20, D-I22, D-I24, D-I25, D-I26, D-I27

D-J* (24): D-J01, D-J02, D-J07, D-J08, D-J10, D-J11, D-J12, D-J15, D-J16, D-J17, D-J18, D-J19, D-J21, D-J22, D-J23, D-J24, D-J25, D-J26, D-J27, D-J30, D-J31, D-J33, D-J35, D-J36

D-K* (13): D-K02, D-K03, D-K04, D-K05, D-K06, D-K07, D-K08, D-K09, D-K11, D-K13, D-K16, D-K17, D-K18

D-L* (8): D-L01, D-L03, D-L04, D-L05, D-L06, D-L07, D-L08, D-L09

D-M* (6): D-M01, D-M02, D-M03, D-M09, D-M13, D-M14

D-N* (10): D-N01, D-N03, D-N04, D-N06, D-N07, D-N08, D-N09, D-N10, D-N11, D-N12

D-O* (6): D-O07, D-O13, D-O17, D-O19, D-O20, D-O21

D-P* (8): D-P03, D-P05, D-P07, D-P08, D-P09, D-P10, D-P16, D-P17

D-Q* (4): D-Q01, D-Q02, D-Q03, D-Q07

D-R* (7): D-R01, D-R02, D-R04, D-R05, D-R06, D-R07, D-R09

D-S* (8): D-S05, D-S07, D-S08, D-S09, D-S10, D-S11, D-S12, D-S13

D-T* (6): D-T01, D-T02, D-T03, D-T06, D-T07, D-T08

D-U* (5): D-U03, D-U04, D-U05, D-U06, D-U07

D-V* (12): D-V02, D-V04, D-V07, D-V08, D-V09, D-V10, D-V11, D-V12, D-V13, D-V14, D-V15, D-V16

D-W* (5): D-W01, D-W03, D-W06, D-W07, D-W08

D-X* (8): D-X01, D-X02, D-X03, D-X04, D-X07, D-X08, D-X09, D-X10

D-Y* (5): D-Y02, D-Y03, D-Y04, D-Y07, D-Y08

D-Z* (3): D-Z01, D-Z04, D-Z05

4.2 Dangling citations (0)

No page cites a D-ID that fails to resolve to a raw/ file. Every evidence anchor in the wiki points at a report that exists.

CORRECTION — the one apparent dangle is a regex artifact, not a real one. A loose scan (rg 'D-SB2' without word boundaries) reports D-SB2 as cited-but-missing. It is not a citation: it is the substring SB2 inside the hardware term GPSIMD-SB2SB on walrus/legality-dispatch.md (a SBUF-to-SBUF GPSIMD op, bir::InstGPSIMDSB2SB). Anchoring the match with \bD-[A-Z]+[0-9]+\b rejects it and the dangling count is 0. This is the canonical reason the regeneration recipe in §5 mandates word boundaries — drop them and this index manufactures a phantom gap.


5. How this page is regenerated

This appendix is a pure function of the repo state at generation time. To rebuild it after a wiki edit, re-run the same scans the edges above were produced from. The recipe is the page's reproducibility contract.

## step 1 — corpus of distinct D-IDs (stems) in raw/              -> 504
ls neuronx-cc/raw/ | rg '^D-' | rg -o '^D-[A-Z]+[0-9]+' | sort -u

## step 2 — distinct D-IDs cited anywhere in the wiki (WORD-BOUNDED) -> 236
rg --no-filename --only-matching -g '*.md' '\bD-[A-Z]+[0-9]+\b' \
   neuronx-cc/wiki/src/ | sort -u

## step 3 — forward edge for one report: which page(s) cite D-Xnn
rg -l -g '*.md' '\bD-Xnn\b' neuronx-cc/wiki/src/

## step 4 — consumed / unconsumed / dangling split (comm against the two sets)
comm -12 raw_dids cited_dids   # consumed   -> 235
comm -23 raw_dids cited_dids   # unconsumed -> 269
comm -13 raw_dids cited_dids   # dangling   -> 0   (with \b...\b anchors)

Two invariants any regeneration must preserve, or it will produce wrong findings:

  • Always anchor with \b...\b. Without word boundaries, hardware tokens like GPSIMD-SB2SB masquerade as citations and inflate the dangling count (§4.2).
  • Key forward edges on the stem, not the filename. D-P02/D-P02b and the two D-Z06 notes share a stem; counting files (506) instead of stems (504) double-counts them.

6. Adversarial verification

Five forward edges and the three census totals, re-checked by hand against the repo. Every check passed.

CheckMethodResult
D-D04 → 7 pagesrg -l '\bD-D04\b' wiki/src/matches the 7 slugs in §2 D-D*; raw/D-D04-dtype-tables.txt exists — PASS
D-A13error-message-catalogrg -c '\bD-A13\b' …/error-message-catalog.md8 hits — PASS
D-Q08 → 5 pagesrg -l '\bD-Q08\b' wiki/src/matches the 5 custom-op/isa/nki slugs; raw/D-Q08-customop-wire.txt exists — PASS
D-AC07two-gpsimd-reconciliationrg -c … + ls raw/3 hits; raw/D-AC07-…-reconciliation.txt exists — PASS
D-AE03dram-hbm-geometryrg -c … + ls raw/1 hit; raw/D-AE03-hbm-dram-geometry.txt exists — PASS
Corpus totalls raw/ | rg -c '^D-'506 files / 504 stems — PASS
Consumed + unconsumed235 + 269= 504 (every stem is exactly consumed xor unconsumed) — PASS
Danglingcomm -13 with \b...\b0 — PASS

See also