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

CR-1227316 : Fix bug in calling native C xrt::kernel API #8726

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

rbramand-xilinx
Copy link
Collaborator

Problem solved by the commit

When xrt::kernel is created using native C API XRT is throwing exception because of wrong constructor being called.

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

PR - #8581 introduced the bug.
Discovered in regressions run on XOAH where application using native C API is run

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

Passing empty xrt::module so that proper kernel impl constructor is called which fixes the issue.

Risks (if any) associated the changes in the commit

Low

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

Tested the failing case added in CR and it passes after this fix

Documentation impact (if any)

NA

@rbramand-xilinx rbramand-xilinx changed the title CR-1227316 : Fix bug in C xrt::kernel API CR-1227316 : Fix bug in calling native C xrt::kernel API Jan 29, 2025
@stsoe stsoe merged commit 19dee1c into Xilinx:master Jan 29, 2025
20 checks passed
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