-
Notifications
You must be signed in to change notification settings - Fork 473
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
Added hw ctx support for edge #8305
Conversation
fc97f9e
to
f0c9167
Compare
@bisingha-xilinx , Overall changes is looking good.
|
Hi @bisingha-xilinx , Added "do not merge " tag. Please confirm whether things are working or not. You can remove this tag once everything works fine. |
f0c9167
to
6fa1846
Compare
6fa1846
to
a84a065
Compare
Hi @chvamshi-xilinx yes, I verified all the tests, and all are passing. here is the table with status:
|
Hi, @chvamshi-xilinx removed the tag as things are working fine with latest changes. |
Signed-off-by: bisingha <bikash.singha@amd.com>
Signed-off-by: bisingha <bikash.singha@amd.com>
Signed-off-by: bisingha <bikash.singha@amd.com>
Signed-off-by: bisingha <bikash.singha@amd.com>
Signed-off-by: bisingha <bikash.singha@amd.com>
Signed-off-by: bisingha <bikash.singha@amd.com>
Signed-off-by: bisingha <bikash.singha@amd.com>
Signed-off-by: bisingha <bikash.singha@amd.com>
Signed-off-by: bisingha <bikash.singha@amd.com>
Signed-off-by: bisingha <bikash.singha@amd.com>
Signed-off-by: bisingha <bikash.singha@amd.com>
Signed-off-by: bisingha <bikash.singha@amd.com>
Signed-off-by: bisingha <bikash.singha@amd.com>
a84a065
to
f377c58
Compare
* Registering the xclbin without loading it Signed-off-by: bisingha <bikash.singha@amd.com> * Added ioctl framework for create/destroy hw context for edge Signed-off-by: bisingha <bikash.singha@amd.com> * Added initial commit to create/destroy hw context Signed-off-by: bisingha <bikash.singha@amd.com> * Added open/close graph hw context calls Signed-off-by: bisingha <bikash.singha@amd.com> * Added graph open/close context Signed-off-by: bisingha <bikash.singha@amd.com> * Adjusted previous commits Signed-off-by: bisingha <bikash.singha@amd.com> * Adjusted previous commits Signed-off-by: bisingha <bikash.singha@amd.com> * Removed slot_id hardcoding for create/destroy hw_ctx Signed-off-by: bisingha <bikash.singha@amd.com> * Removed unnecessary function calls Signed-off-by: bisingha <bikash.singha@amd.com> * Added slot_id check Signed-off-by: bisingha <bikash.singha@amd.com> * Added cu open/close context support Signed-off-by: bisingha <bikash.singha@amd.com> * Added execbuf support with hw context Signed-off-by: bisingha <bikash.singha@amd.com> * Adjusted previous commits Signed-off-by: bisingha <bikash.singha@amd.com> --------- Signed-off-by: bisingha <bikash.singha@amd.com>
Problem solved by the commit
create/destroy hw_context enablement for edge
Bug / issue (if any) fixed, which PR introduced the bug, how it was discovered
Fixed issues: register xclbin support, hw ctx support
How problem was solved, alternative solutions (if any) and why they were rejected
Programming the xclbin while creating the hw ctx and added zocl driver support for create/destroy hw_context
Risks (if any) associated the changes in the commit
n/a
What has been tested and how, request additional testing if necessary
Please find the table below. Tested on hw emu with vck190 xpfm with 2024.2 TA
Documentation impact (if any)
Please note: by default, hw context is enabled on the edge shim. hw_context=false has to be provided on xrt.ini if someone wants to go with the legacy (non hwctx) flow.