Repair a verified behavior in xilinx/xrt.
Repair a verified behavior in xilinx/xrt.: a task in OriGent-SFT-Data (Harbor dataset). Background. In the XRT userspace runtime, the OpenCL platform no longer opens or closes devices on its own: only a cl context opens devices, and the context destructor closes them. This relies on host code…
The task
Background. In the XRT userspace runtime, the OpenCL platform no longer opens or closes devices on its own: only a cl_context opens devices, and the context destructor closes them. This relies on host code properly disposing of the OpenCL objects that hold a cl_context, but a large amount of existing host code leaks…
Part of henryen/OriGent-SFT-Data.