Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

[MLIR][Flang] Add placeholder for omp.distribute and lowering #230

Merged

Conversation

skatrak
Copy link
Contributor

@skatrak skatrak commented Sep 8, 2023

This patch adds a placeholder definition of the omp.distribute MLIR operation intended as a way to unblock progress in the lowering to LLVM IR of the constructs needed for milestone2 (target teams distribute parallel do). It also includes lowering from parse tree to MLIR.

Eventually this simple definition would be replaced by a complete one coming from the trunk, with support for clauses and designed to work together with the omp.canonical_loop. Code written based on this definition should hopefully still work when the definition is completed.

This patch adds a placeholder definition of the `omp.distribute` MLIR operation
intended as a way to unblock progress in the lowering to LLVM IR of the
constructs needed for milestone2 (`target teams distribute parallel do`).

Eventually this simple definition would be replaced by a complete one coming
from the trunk, with support for clauses and designed to work together with the
`omp.canonical_loop`. Code written based on this definition should hopefully
still work when the definition is completed.
@skatrak skatrak self-assigned this Sep 8, 2023
@skatrak skatrak merged commit 4d52ed4 into ROCm-Developer-Tools:amd-trunk-dev Sep 11, 2023
1 check passed
@skatrak skatrak deleted the distribute-placeholder branch September 11, 2023 09:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant