Repair a verified behavior in xilinx/xrt.
Repair a verified behavior in xilinx/xrt.: a task in OriGent-SFT-Data (Harbor dataset). In XRT's Kernel Driver Scheduler (KDS), a compute-unit (CU) context can be opened more than once by the same client. Each struct kds client cu ctx tracks this with its ref cnt field: every successful kds add…
The task
In XRT's Kernel Driver Scheduler (KDS), a compute-unit (CU) context can be opened more than once by the same client. Each struct kds_client_cu_ctx tracks this with its ref_cnt field: every successful kds_add_context call must increment ref_cnt, and every successful kds_del_context call must decrement it. Repeated…
Part of henryen/OriGent-SFT-Data.