XRT
XRT copied to clipboard
Add PID argument to aie mem and reg read/write apis
Problem solved by the commit
Added PID argument to aie debug apis to uniquely identify hw ctx.
Bug / issue (if any) fixed, which PR introduced the bug, how it was discovered
How problem was solved, alternative solutions (if any) and why they were rejected
Context ID alone doesn't uniquely identify a hw context as per driver implementation, so added extra PID arg to debug APIs.
Risks (if any) associated the changes in the commit
Low
What has been tested and how, request additional testing if necessary
Tested the flow on both Linux and windows and the apis work as expected.
Documentation impact (if any)
Added doxygen comment for the arg added
In both Linux and Windows we print PID now using xrt-smi, the same can be provided to debug apis. Rebased the changes with latest XRT, please review. Thanks
@rbramand-xilinx, can you please update the description of this PR? It looks old
So are these APIs are called from a different process compared to the process that opened the hw_context (the pid argument)?
Yes Soren, it will be called from debugger process. Pair <context id, pid> uniquely identifies a hw_context