Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
56 Views

Intermittent malfunction of tbb::parallel_for

Hello,

When I run a specific code using tbb::parallel_for, the results are randomly dropped one by one. The frequency is about one per 500,000 elements, and the index of the missing element changes each time. I am using TBB 2019.8.

The lambda in the threading block uses SIMD code, and the thread-safety of the code is sufficiently checked. When executed using PPL's concurrency::parallel_for, the symptom does not appear.

Have a bug similar to this ever reported? Or has anyone had similar symptoms?

 

0 Kudos
2 Replies
Highlighted
Community Manager
29 Views

Hello. I have started an investigation.


0 Kudos
Highlighted
Community Manager
22 Views

Hello. I would like to reproduce your issue and possibly file a bug report but I am unable to do that without an example. Can you please send a snippet of code? Thank you.


0 Kudos