Skip to content

Attribute compute_io_bound IO stalls to the starved input - #108

Merged
jvillarre merged 1 commit into
Xilinx:masterfrom
jyothees99:aie-dtrace-s2mm-dma-stalls
Aug 25, 2026
Merged

Attribute compute_io_bound IO stalls to the starved input#108
jvillarre merged 1 commit into
Xilinx:masterfrom
jyothees99:aie-dtrace-s2mm-dma-stalls

Conversation

@jyothees99

Copy link
Copy Markdown
Collaborator

compute_io_bound could say a layer was IO bound but not what it was waiting on. It now also programs the core tile one row above the existing one, whose memory module counts two combo events: the core's lock stall ANDed with S2MM channel 0 starvation, and the same ANDed with channel 1. Channel 0 carries the IFM and channel 1 the weights, so comparing the two names the input that starved the core.

A combo event can only combine events of one module and the starvation events belong to the memory module, so the lock stall reaches it as an intra-tile broadcast, the same route the first tile already uses.

The core tile metric set is also selected by name rather than by a boolean, which the second metric set this was originally written for needed and which remains the clearer interface.

compute_io_bound could say a layer was IO bound but not what it was waiting
on. It now also programs the core tile one row above the existing one, whose
memory module counts two combo events: the core's lock stall ANDed with S2MM
channel 0 starvation, and the same ANDed with channel 1. Channel 0 carries
the IFM and channel 1 the weights, so comparing the two names the input that
starved the core.

A combo event can only combine events of one module and the starvation
events belong to the memory module, so the lock stall reaches it as an
intra-tile broadcast, the same route the first tile already uses.

The core tile metric set is also selected by name rather than by a boolean,
which the second metric set this was originally written for needed and which
remains the clearer interface.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jvillarre
jvillarre merged commit fb48d37 into Xilinx:master Aug 25, 2026
4 checks passed
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.

2 participants