XRT icon indicating copy to clipboard operation
XRT copied to clipboard

CR-1217444 Callback on xrt::run causes "kds monitor died" and hang

Open stsoe opened this issue 4 months ago • 0 comments

Problem solved by the commit

Trap unsupported managed execution earlier.

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

We don't plan on supporting callbacks for xrt::run objects for RyzenAI. This would kill performance. Callbacks are used under the hood in the OpenCL implementation and are indeed supported for XRT native APIs on Alveo, but not for RyzenAI

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

This PR changes code such that an exception is thrown when an xrt::run object is started after adding a callback on the run object.

stsoe avatar Oct 23 '24 18:10 stsoe