Skip to content

Add basic support for fusion in dispatch region formation. - #4516

Merged
nicolasvasilache merged 1 commit into
iree-org:mainfrom
nicolasvasilache:dispatch-fusion
Jan 14, 2021
Merged

nicolasvasilache merged 1 commit into
iree-org:mainfrom
nicolasvasilache:dispatch-fusion

Conversation

@nicolasvasilache

Copy link
Copy Markdown
Contributor

This revision shows how to enable fusion incrementally in the context of dispatch region formation on linalg on tensors.
The dispatch pattern is temporarily modified to only apply to MatmulOp and is extended to only fuse the first producer.

This is meant to be refactored and extended in real-world scenarios, the current revision exercises proper DispatchWorkgroupOp operand and BBarg formation in the context of fusion.

PiperOrigin-RevId: 351352845

This revision shows how to enable fusion incrementally in the context of dispatch region formation on linalg on tensors.
The dispatch pattern is temporarily modified to only apply to MatmulOp and is extended to only fuse the first producer.

This is meant to be refactored and extended in real-world scenarios, the current revision exercises proper DispatchWorkgroupOp operand and BBarg formation in the context of fusion.

PiperOrigin-RevId: 351352845

@MaheshRavishankar MaheshRavishankar left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Would like @benvanik to look at the comment in the review. Otherwise LGTM

@nicolasvasilache
nicolasvasilache merged commit fb4782a into iree-org:main Jan 14, 2021
@rsuderman rsuderman mentioned this pull request Jan 15, 2021
@hanhanW hanhanW mentioned this pull request Jan 19, 2021
@rsuderman rsuderman mentioned this pull request Jan 19, 2021
@nicolasvasilache
nicolasvasilache deleted the dispatch-fusion branch March 30, 2022 21:12
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