Skip to content

Update XRT to use aie_codegen for XDP client flow#9712

Closed
snigdha-gupta wants to merge 8 commits intoXilinx:masterfrom
snigdha-gupta:xrt_client_aie_codegen
Closed

Update XRT to use aie_codegen for XDP client flow#9712
snigdha-gupta wants to merge 8 commits intoXilinx:masterfrom
snigdha-gupta:xrt_client_aie_codegen

Conversation

@snigdha-gupta
Copy link
Copy Markdown
Collaborator

@snigdha-gupta snigdha-gupta commented Apr 3, 2026

Problem solved by the commit

aie-rt is being replaced by aie-codegen , which is why XDP is moving over to aie-codegen as well

Bug / issue (if any) fixed, which PR introduced the bug, how it was discovered

N/A

How problem was solved, alternative solutions (if any) and why they were rejected

  • switch from aie-rt to aie-codegen
  • use a flag "XDP_USE_AIE_CODEGEN_CMAKE" to determine when to use aie-codegen (client-flow) vs xaiengine (edge-flow)

Risks (if any) associated the changes in the commit

What has been tested and how, request additional testing if necessary

Client (strix)

Documentation impact (if any)

Signed-off-by: snigupta <snigupta@amd.com>
Signed-off-by: snigupta <snigupta@amd.com>
Signed-off-by: snigupta <snigupta@amd.com>
Signed-off-by: Gupta <snigupta@amd.com>
@snigdha-gupta snigdha-gupta requested a review from jvillarre April 3, 2026 21:47
Signed-off-by: snigupta <snigupta@amd.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 3, 2026

clang-tidy review says "All clean, LGTM! 👍"

Signed-off-by: snigupta <snigupta@amd.com>
@snigdha-gupta snigdha-gupta force-pushed the xrt_client_aie_codegen branch from e473de0 to 7725688 Compare April 3, 2026 22:42
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 3, 2026

clang-tidy review says "All clean, LGTM! 👍"

- Extend aie-rt/src build condition to include XDP_VE2_BUILD_CMAKE
  alongside XRT_NPU (both Linux and Windows blocks)
- Add aie-rt/fal subdirectory and set AIEFAL_DIR for VE2 builds
  so _xdna plugins can find xaiefal headers

Signed-off-by: snigupta <snigupta@amd.com>
Made-with: Cursor
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 6, 2026

clang-tidy review says "All clean, LGTM! 👍"

VE2 is an Edge build (XRT_EDGE=1), so the aie-rt/src and aie-rt/fal
subdirectories were never added. Move the VE2 block outside the
if(NOT XRT_EDGE) guard so aie_codegen and FAL are built for VE2
Edge builds. NPU (non-Edge) path remains inside the guard.

Signed-off-by: snigupta <snigupta@amd.com>
Made-with: Cursor
Signed-off-by: snigupta <snigupta@amd.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 7, 2026

clang-tidy review says "All clean, LGTM! 👍"

1 similar comment
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 7, 2026

clang-tidy review says "All clean, LGTM! 👍"

@snigdha-gupta snigdha-gupta deleted the xrt_client_aie_codegen branch April 7, 2026 03:35
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.

1 participant