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

Refactor aie.device to aie-rt lowering into library #1760

Merged
merged 9 commits into from
Sep 10, 2024

Conversation

fifield
Copy link
Collaborator

@fifield fifield commented Sep 9, 2024

Move aie-rt code from "cdo direct" translator into a library by cherry-picking and updating #1104.

This is mostly to make the translation easier use from other places:

will have merge conflicts with #1756

@fifield fifield added this pull request to the merge queue Sep 10, 2024
Merged via the queue into Xilinx:main with commit 6f4c138 Sep 10, 2024
67 checks passed
Yu-Zhewen added a commit to nod-ai/iree-amd-aie that referenced this pull request Jan 10, 2025
#1018)

The following interface functions between the `xilinx::aie` dialect and
`aie-rt` have been relocated and renamed

`Target/AMDAIETargetCDODirect.cpp/addAieElfsToCDO`
->`Target/AMDAIERT.cpp/addAllAieElfs`
`Target/AMDAIETargetCDODirect.cpp/addCoreEnableToCDO` ->
`Target/AMDAIERT.cpp/addAllCoreEnable`
`Target/AMDAIETargetCDODirect.cpp/addInitConfigToCDO` ->
`Target/AMDAIERT.cpp/addInitConfig`
 
The motivation is, these functions are not specific to the CDO and can
be useful in other contexts, such as generating control packets.
 
Brief documentation has also been added for these functions in the new
header file.

related: Xilinx/mlir-aie#1760
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.

3 participants