Repair a verified behavior in xilinx/xrt.
Repair a verified behavior in xilinx/xrt.: a task in OriGent-SFT-Data (Harbor dataset). Applications that repeatedly construct and destroy xrt::device objects leak entries from the static per-device cache used by xrt core::hw queue. Constructing an xrt core::hw queue for a device's xrt::hw context…
The task
Applications that repeatedly construct and destroy xrt::device objects leak entries from the static per-device cache used by xrt_core::hw_queue. Constructing an xrt_core::hw_queue for a device's xrt::hw_context creates a cache entry keyed by that xrt_core::device. When all references to the device are released and…
Part of henryen/OriGent-SFT-Data.