XRT icon indicating copy to clipboard operation
XRT copied to clipboard

VITIS-12786 - Fetch scratch-pad-mem size from elf

Open dezhiAmd opened this issue 7 months ago • 0 comments

Problem solved by the commit

scratch-pad-mem is a bo used to store L2 memory for the purpose of preemption. Currently scratch-pad-mem size is hardcoded instead of read from elf file

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

scratch-pad-mem size is encoded into the elf file by assembler. Refer to https://gitenterprise.xilinx.com/XRT/aiebu/pull/65/. This PR parse the scratch-pad-mem size from the elf file.

Risks (if any) associated the changes in the commit

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

Documentation impact (if any)

dezhiAmd avatar Jul 03 '24 19:07 dezhiAmd