cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Participant
Participant
1,109 Views
Registered: ‎07-24-2017

Pipe functions: write_pipe, read_pipe, get_pipe_num_packets

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?

0 Kudos
2 Replies
Highlighted
Participant
Participant
968 Views
Registered: ‎07-24-2017

Can someone comment on this please? Is this a bug, or the indented functionality?

0 Kudos
Highlighted
Participant
Participant
551 Views
Registered: ‎07-24-2017

I would still be very happy about an answer :)

0 Kudos