Skip to content

Add drop-in replacement of load_pdi with control-packet-based configuration - #3

Open
andrej wants to merge 26 commits into
simplify-aieccfrom
full-elf-ctrlpkt
Open

Add drop-in replacement of load_pdi with control-packet-based configuration#3
andrej wants to merge 26 commits into
simplify-aieccfrom
full-elf-ctrlpkt

Conversation

@andrej

@andrej andrej commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Adds support for a mode of --expand-load-pdis that replaces all load_pdi instructions with

  1. A load_pdi instruction that loads a minimal column control overlay -- the routes for the control packets.
  2. A set of instructions configuring a DMA to stream in the control packets.

Also plumbs in the control packet data into the full ELF format.

@andrej
andrej force-pushed the simplify-aiecc branch 3 times, most recently from e876d97 to ccbf6da Compare July 13, 2026 16:06
@andrej
andrej force-pushed the full-elf-ctrlpkt branch from e135c62 to 303836e Compare July 13, 2026 20:40
@andrej
andrej force-pushed the full-elf-ctrlpkt branch from 303836e to 064b1e8 Compare July 13, 2026 22:14
@andrej
andrej force-pushed the simplify-aiecc branch 5 times, most recently from 8a80e2a to 71080a1 Compare July 17, 2026 04:55
@andrej
andrej force-pushed the full-elf-ctrlpkt branch 2 times, most recently from 0f17a66 to a358199 Compare July 17, 2026 19:58
@andrej
andrej force-pushed the full-elf-ctrlpkt branch from a358199 to f031715 Compare July 17, 2026 22:10
hunhoffe and others added 6 commits July 20, 2026 14:10
…O artifacts (Xilinx#3356)

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…NOC (Xilinx#3293)

Co-authored-by: Claude <noreply@anthropic.com>
…r rolled runtime sequences (Xilinx#3358)

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
@andrej
andrej force-pushed the full-elf-ctrlpkt branch from d9196e3 to 8f57c98 Compare July 21, 2026 18:16
@andrej
andrej force-pushed the full-elf-ctrlpkt branch 2 times, most recently from 21033f8 to b1d7529 Compare July 21, 2026 20:00
andrej and others added 12 commits July 21, 2026 16:08
Co-authored-by: André Rösti <androsti@amd.com>
Reorder the default (--expand-load-pdis) flow so load_pdi expansion runs at
the same point as the ctrl-pkt flow: materialize -> expand -> DMA lowering.
Factor runtime-sequence materialization out of getNpuLoweringPipeline into an
explicit 'npu_materialized.mlir' graph edge (inspectable intermediate), and
collapse the two per-flow expand edges into a single 'npu_expanded.mlir' edge
parameterized by ctrl-pkt. getNpuLoweringPipeline becomes getNpuDmaLoweringPipeline
(DMA tail only).
Drop change-narration and restatement from the NPU-lowering comments (no
before/after framing, no 'still'/'kept'/'at the same point', no paraphrasing of
adjacent code).
@andrej
andrej force-pushed the full-elf-ctrlpkt branch from 60208e4 to bd98258 Compare July 21, 2026 22:08
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.

4 participants