Repair a verified behavior in xilinx/xrt.
Repair a verified behavior in xilinx/xrt.: a task in OriGent-SFT-Data (Harbor dataset). When xlnx::clGetMemObjectFromFd creates an xocl::memory object from an imported file descriptor, the runtime registers the already-existing xrt::device::BufferObjectHandle before the normal allocation path…
The task
When `xlnx::clGetMemObjectFromFd` creates an `xocl::memory` object from an imported file descriptor, the runtime registers the already-existing `xrt::device::BufferObjectHandle` before the normal allocation path selects a memory bank. Consequently, `xocl::memory::get_memidx()` remains `-1` even though the target…
Part of henryen/OriGent-SFT-Data.