Make all items used in the offload region an explicit in-argument; this avoids potential write-back to variable of the host-side representation after it is gone. Remember the capture_region is being deleted when processed by the queue (which also means it still runs on the coprocessor in case of asynchronous operation (an update "write-back" is then causing spurious SIGSEGVs).
Make all items used in the offload region an explicit in-argument; this avoids potential write-back to variable of the host-side representation after it is gone. Remember the capture_region is being deleted when processed by the queue (which also means it still runs on the coprocessor in case of asynchronous operation (an update "write-back" is then causing spurious SIGSEGVs).

hfp/libxstream,hfp/libxstream,mjklemm/libxstream,mjklemm/libxstream