frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

programs get blocked when multiple enquee ,

Hi, I have this
for (...) {
enquee()
enquee()
read()
read()
}
after a few thousands of iteration program get blocked on a read call,

but this way it work
for (...) {
enquee()
read()
enquee()
read()
}
the issue is that this last way is slower
any suggestion?

Comments

  • 1 Comment sorted by Votes Date Added
  • @llero The issue may be related to performing a read() and the output queue being empty. I was just wondering what version of the NCSDK you are using? Please try using the latest NCSDK version (2.05) if you aren't already doing so. Some fifo issues were fixed with version 2.05 that were a problem with 2.04.

    You can also try increasing the size of the fifos. The number of fifo elements can be set using Graph.allocate_with_fifos() or Fifo.allocate() and changing the number of elements for each fifo. This will allow you to be able to have larger fifo queues.

Sign In or Register to comment.