roofline: emit per-launch topology edges for graph reconstruction - #66
Merged
Conversation
mgehre-amd
reviewed
Jul 27, 2026
mgehre-amd
approved these changes
Jul 27, 2026
Record per-invocation storage-id identity (out/in) so the consumer can link each launch to its producer via last-writer-wins on storage roots, reconstructing the execution graph. Fused spans elide internal tensors. Co-Authored-By: Claude Opus 4 (1M context) <noreply@anthropic.com>
roberteg16
force-pushed
the
rogarcia.roofline-graph-topology
branch
2 times, most recently
from
July 27, 2026 11:25
83ed463 to
70e402b
Compare
…_ids Each launch's topology now carries, 1:1 with in_storage_ids, the source operand's tensor name (in_names), dtype (in_types) and shape (in_ne). The name makes weight-vs-input unambiguous for the consumer -- a model weight is named e.g. "blk.0.ffn_gate.weight" / "*.bias", a dynamic input "inp_pos" / "cache_k_l0" -- and the per-operand type/shape are correct even for a fused span's non-head operands, which the shared (head-only) geometry record does not describe. The name is taken from the storage root so a view/reshape of a weight keeps the weight's name.
roberteg16
force-pushed
the
rogarcia.roofline-graph-topology
branch
from
July 27, 2026 11:27
70e402b to
c7060bd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Record per-invocation storage-id identity (out/in) so the consumer can link each launch to its producer via last-writer-wins on storage roots, reconstructing the execution graph. Fused spans elide internal tensors.
Counter part of: https://gitenterprise.xilinx.com/FaaSApps/rocm-scripts/pull/781