Skip to content
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

CDNA1/2 data tiling #19100

Merged
merged 2 commits into from
Nov 12, 2024
Merged

CDNA1/2 data tiling #19100

merged 2 commits into from
Nov 12, 2024

Conversation

bjacob
Copy link
Contributor

@bjacob bjacob commented Nov 11, 2024

CDNA1/2 machines are going to be in use for a while, and adding data tiling support for an architecture is just a matter of populating those 3 optional fields in TargetWgpDetails, and the corresponding gpu_materialize_encoding_gfx***.mlir test adds some coverage around the intrinsics that is useful beyond data tiling.

@bjacob bjacob force-pushed the users/bjacob/cdna1-cdna2-data-tiling branch from d7bd67a to e335ba2 Compare November 11, 2024 16:01
@bjacob bjacob force-pushed the users/bjacob/more-mma-intrinsics branch from 50c222c to ffc4d58 Compare November 11, 2024 16:18
@bjacob bjacob force-pushed the users/bjacob/cdna1-cdna2-data-tiling branch from e335ba2 to 58beb25 Compare November 11, 2024 16:19
@bjacob bjacob marked this pull request as ready for review November 11, 2024 17:24
@bjacob bjacob force-pushed the users/bjacob/more-mma-intrinsics branch from ffc4d58 to 09d91a5 Compare November 11, 2024 21:57
@bjacob bjacob force-pushed the users/bjacob/cdna1-cdna2-data-tiling branch from 58beb25 to a89bc41 Compare November 11, 2024 21:57
Signed-off-by: Benoit Jacob <[email protected]>
@bjacob bjacob force-pushed the users/bjacob/more-mma-intrinsics branch from 09d91a5 to ab2aa4c Compare November 12, 2024 16:23
Signed-off-by: Benoit Jacob <[email protected]>
@bjacob bjacob force-pushed the users/bjacob/cdna1-cdna2-data-tiling branch from a89bc41 to e5899d6 Compare November 12, 2024 16:25
Base automatically changed from users/bjacob/more-mma-intrinsics to main November 12, 2024 16:54
Copy link
Contributor

@hanhanW hanhanW left a comment

Choose a reason for hiding this comment

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

I did not check if the numbers match the spec. I like the size of the PR when we add the support for CDNA1/2 data-tiling. :)

@@ -1741,6 +1741,36 @@ iree_generated_e2e_runner_test(
"requires-gpu-cdna3"
)

iree_generated_e2e_runner_test(
NAME
e2e_matmul_cdna3_dt_f64
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm confused that a cdna3 test suite is added but the PR title is about CDNA1/2. Why?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry, that's just a mishap while slicing my diff into PRs. This was meant to be part of #19099.

Copy link
Contributor

Choose a reason for hiding this comment

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

I see, can you rebase the PR (or merge the main branch into your branch)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@hanhanW , if I do that, I will lose the green CI status. The bottom commit here is already in main. Can you review based on looking at the top commit?

Copy link
Contributor

Choose a reason for hiding this comment

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

ah, I see. I did not notice that there are two commits. Reviewed and it looks good to me, thanks!

@bjacob bjacob requested a review from hanhanW November 12, 2024 19:27
@bjacob bjacob merged commit 4aa08f2 into main Nov 12, 2024
36 checks passed
@bjacob bjacob deleted the users/bjacob/cdna1-cdna2-data-tiling branch November 12, 2024 19:59
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