02-22-2019 07:14 AM - edited 02-22-2019 07:17 AM
I am using SDAccel 2018.3 on Ubuntu 16.04.5 LTS.
My application requires non-blocking access to pipes to avoid deadlocks.
With 2018.3 the non-blocking functions read_pipe and write_pipe are not working. In the post "SDAccel OpenCL examples with non-blocking pipe functions" from November 2018 with SDAccel 2018.2, it has been confirmed that non-blocking functions read_pipe and write_pipe are not working for HW-Emulation and HW-Execution. I can confirm this behavior for 2018.3.
The function get_pipe_num_packets is also broken and only working in SW-Emulation. Use the attached, slightly modified example based on the "OpenCL Pipe Memory Example with Blocking Read/Write Operation" to reproduce the errors.
What can I do to work with pipes in non-blocking modes?