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

Force xclbin won't impact if current xclbin in use #7658

Merged
merged 5 commits into from
Aug 10, 2023

Conversation

ManojTakasi
Copy link
Collaborator

Problem solved by the commit

CR-1166962 When force xclbin is enabled when hw_ctx is open we are getting " Failed to create hardware context". This is becauseit's trying to download the xclbin again even the current bitstream is locked.

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

Checking the bitstram is locked or not when force xclbin is trying to redownload the xclbin again.

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

Added one more check in the xocl_resolver function to check if bitstream is locked or not.

Risks (if any) associated the changes in the commit

No

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

Tested on u250.

Documentation impact (if any)

NA

@gbuildx
Copy link
Collaborator

gbuildx commented Aug 7, 2023

Build failed :(

@chvamshi-xilinx
Copy link
Collaborator

retest this please

@gbuildx
Copy link
Collaborator

gbuildx commented Aug 8, 2023

Build failed :(

@gbuildx
Copy link
Collaborator

gbuildx commented Aug 8, 2023

Build Passed!

@chvamshi-xilinx chvamshi-xilinx merged commit 32f1325 into Xilinx:master Aug 10, 2023
2 checks passed
@ManojTakasi ManojTakasi deleted the force_xclbin branch December 12, 2023 08:25
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.

5 participants