forked from llvm/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mlir][acc] Added async to data clause operations. (llvm#97307)
As long as the data clause operations are not tightly "associated" with the compute/data operations (e.g. they can be optimized as SSA producers and made block arguments), the information about the original async() clause should be attached to the data clause operations to make it easier to generate proper runtime actions for them. This change propagates the async() information from the OpenACC data/compute constructs to the data clause operations. This change also adds the CurrentDeviceIdResource to guarantee proper ordering of the operations that read and write the current device identifier.
- Loading branch information
1 parent
0c6d00a
commit 9f87976
Showing
10 changed files
with
580 additions
and
192 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.