Skip to content

Use Collective builder for benchmarks #302

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 15 commits into
base: sycl-develop
Choose a base branch
from

Conversation

FMarno
Copy link
Collaborator

@FMarno FMarno commented Apr 10, 2025

Uses the collective builders for benchmarks.
Also updates the collective builder to handle all the current benchmarks. I've gone for a two pronged approached where CTA tiles and matrix layouts can be mapped directly to a copy atom and subgroup layout, but there is also a fallback heuristic . The fallback is based on what the benchmarks were previously targetting and could probably be simplified and made more robust.

@FMarno FMarno force-pushed the collective_builder_for_benchmarks branch from c7c4f8c to bf21e0f Compare April 15, 2025 09:41
@FMarno FMarno marked this pull request as ready for review April 15, 2025 09:56
};

template <>
struct SubgroupTilingMap<Shape<_256,_256,_32>, cutlass::layout::RowMajor, cutlass::layout::RowMajor> {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do you need those specializations just to match what was previously in benchmarks?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No, my goal is make it more easily maintainable. If someone wants to tune one case then they can just add a specialization and move on.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The benchmarks should be matched by the default case

@FMarno FMarno force-pushed the collective_builder_for_benchmarks branch from 9ba2fcb to ed88809 Compare April 21, 2025 09:40
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