Skip to content

Add ktdf.via and the mlir::ktdf::PipelineBuilder. - #44

Draft
KFAFSP wants to merge 8 commits into
torch-spyre:mainfrom
KFAFSP:kfaf/via
Draft

KFAFSP wants to merge 8 commits into
torch-spyre:mainfrom
KFAFSP:kfaf/via

Conversation

@KFAFSP

@KFAFSP KFAFSP commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

WIP.

Signed-off-by: Karl F. A. Friebel <karl.friebel@ibm.com>
Signed-off-by: Karl F. A. Friebel <karl.friebel@ibm.com>
Signed-off-by: Karl F. A. Friebel <karl.friebel@ibm.com>
Comment thread lib/Dialect/KTDF/Transforms/PipelineBuilder.cpp Outdated
Comment thread include/dataflow-scheduler/Dialect/KTDF/Transforms/PipelineBuilder.h Outdated
// Effect assignment (consistent with DataTransferOp::getEffects):
// ind_src memref: Read — IAB read to obtain scatter/gather addr
// dir_src memref: Read — data source
// dir_src fifo: Read + Write — consuming a FIFO slot mutates its state

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Is my clang-format the odd one out here?

- Changed to inheritance from `PipelinePrivatizer` and `RewriterBase`.
- Changed placement interface to plain stages.
- Added `mlir::ktdf::StageDependency` analysis helper.

Signed-off-by: Karl F. A. Friebel <karl.friebel@ibm.com>
Signed-off-by: Karl F. A. Friebel <karl.friebel@ibm.com>
Signed-off-by: Karl F. A. Friebel <karl.friebel@ibm.com>
Signed-off-by: Karl F. A. Friebel <karl.friebel@ibm.com>
Signed-off-by: Karl F. A. Friebel <karl.friebel@ibm.com>
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