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

Made aie resources 0 for hw_gen greater than 1 #8626

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

bisingha-xilinx
Copy link
Collaborator

Problem solved by the commit

While requesting for AIE partition the meta_data of aie_partition_req should be "zero" for hw_gen greater than 1 since AIE resource loading only supported on hw_gen 1 (AIE1). Confirmed with the AIE driver team.

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

Customer faced issue with 2023.2 XRT (https://jira.xilinx.com/browse/CR-1220658). To avoid future similar issues fixing it on XRT master.

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

making meta_data of aie_partition_req "zero" for hw_gen greater than 1.

Risks (if any) associated the changes in the commit

None

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

Tested on vck190(AIE1) and vek280(AIE2)

Documentation impact (if any)

None

req.partition_id = partition_id;
req.uid = 0;
req.meta_data = 0;

if (aie_res)
if (hw_gen == 1)
Copy link
Collaborator

@chvamshi-xilinx chvamshi-xilinx Nov 27, 2024

Choose a reason for hiding this comment

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

Remove the condition completely

Copy link
Collaborator

Choose a reason for hiding this comment

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

Thanks for pointing out. it is already set at 530

@chvamshi-xilinx chvamshi-xilinx merged commit 715c7e7 into Xilinx:master Nov 28, 2024
20 checks passed
bisingha-xilinx added a commit to bisingha-xilinx/XRT that referenced this pull request Nov 28, 2024
Signed-off-by: bisingha <[email protected]>
(cherry picked from commit 715c7e7)
bisingha-xilinx added a commit to bisingha-xilinx/XRT that referenced this pull request Nov 28, 2024
bisingha-xilinx added a commit to bisingha-xilinx/XRT that referenced this pull request Nov 28, 2024
chvamshi-xilinx pushed a commit that referenced this pull request Nov 28, 2024
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