Repair a verified behavior in xilinx/xrt.
Repair a verified behavior in xilinx/xrt.: a task in OriGent-SFT-Data (Harbor dataset). XRT's OpenCL profiling support can crash with a segmentation fault at application exit when a host OpenCL application does not release its OpenCL objects, i.e. it never calls the clRelease functions such as…
The task
XRT's OpenCL profiling support can crash with a segmentation fault at application exit when a host OpenCL application does not release its OpenCL objects, i.e. it never calls the clRelease* functions such as clReleaseProgram, clReleaseCommandQueue, or clReleaseContext.
Part of henryen/OriGent-SFT-Data.