Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.
2465 Discussions

graph intermittently stalls with tbb::flow::async_node

Marc_R_5
Beginner
179 Views

It is either all or nothing.  

Running  tbb43_20150611oss/src/test/test_async_node.cpp  reproduce the issue.  Either the test will run to completion or will never complete.   When the worker thread calls async_try_put() it does not always wake up the next node connected to it.

platform: linux_armv7_gcc_cc4.8_libc2.19_kernel3.10.40_debug

tbb: tbb43_20150611oss

 

 

 

0 Kudos
2 Replies
Vladimir_P_1234567890
179 Views

Hello Marc,

how many core you are running the test on?

--Vladimir

0 Kudos
Marc_R_5
Beginner
179 Views

Hello Vladimir, 

Good question!  I was running the test with only 1 core active.  Running the same test with 4 cores did not reproduce the stall issue.

Thanks,

Marc

 

0 Kudos
Reply