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

[MLIR][Flang][OpenMP] Host evaluation of trip count for Generic-SPMD #213

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

skatrak
Copy link

@skatrak skatrak commented Nov 26, 2024

This patch enables the host-initialization of the loop trip count for kernels representing target teams distribute or equivalent constructs. This involves updates to Flang lowering to make sure loop bounds are lowered in advance, omp.target verifier changes and tweaks to MLIR to LLVM IR translation.

This patch enables the initialization of the loop trip count for kernels
representing `target teams distribute` or equivalent constructs. This involves
updates to Flang lowering to make sure loop bounds are lowered in advance,
omp.target verifier changes and tweaks to MLIR to LLVM IR translation.
Copy link

@DominikAdamski DominikAdamski left a comment

Choose a reason for hiding this comment

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

LGTM

@skatrak skatrak merged commit 3c23fd7 into ROCm:amd-trunk-dev Nov 27, 2024
3 of 5 checks passed
@skatrak skatrak deleted the generic-spmd-tripcount branch November 27, 2024 10:31
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