-
Notifications
You must be signed in to change notification settings - Fork 490
Added status support for gmio and ext buffers #8903
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 status support for gmio and ext buffers #8903
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
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>
30edb0b
to
c3daba1
Compare
clang-tidy review says "All clean, LGTM! 👍" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. One suggestion about the aie_buffer_state enum, please reivew.
You are good on clang-tidy based on last commit and review.
Signed-off-by: bisingha <bikash.singha@amd.com>
clang-tidy review says "All clean, LGTM! 👍" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My review is primarily around the exported end-user API and that is good. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have reviewed the core logic. It looks good.
* Added status support for gmio and ext buffers Signed-off-by: bisingha <bikash.singha@amd.com> * Added check to avoid getting status before async Signed-off-by: bisingha <bikash.singha@amd.com> * Added headers and renamed the status() func of xrt::aie::buffer Signed-off-by: bisingha <bikash.singha@amd.com> * Added enum class state for aie buffer object Signed-off-by: bisingha <bikash.singha@amd.com> * Moved buffer_state to device class Signed-off-by: bisingha <bikash.singha@amd.com> --------- Signed-off-by: bisingha <bikash.singha@amd.com> (cherry picked from commit 7c3edf3)
* Added status support for gmio and ext buffers * Added check to avoid getting status before async * Added headers and renamed the status() func of xrt::aie::buffer * Added enum class state for aie buffer object * Moved buffer_state to device class --------- (cherry picked from commit 7c3edf3) Signed-off-by: bisingha <bikash.singha@amd.com>
Problem solved by the commit
https://jira.xilinx.com/browse/CR-1210116.
Bug / issue (if any) fixed, which PR introduced the bug, how it was discovered
Not a bug. It's a new feature for GMIO and external buffer usecases. It is a new member function of xrt::aie::buffer class which will get the status of the previously initiated async operation.
How problem was solved, alternative solutions (if any) and why they were rejected
By adding a new member function to xrt::aie::buffer class
Risks (if any) associated the changes in the commit
What has been tested and how, request additional testing if necessary
Tested on vck190 and vek280 with GMIO and external buffer testcases
Documentation impact (if any)
status() of xrt::aie::buffer needs to be documented