Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
2401 Discussions

Intermittent malfunction of tbb::parallel_for

yangsa
Beginner
252 Views

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
IntelSupport
Community Manager
225 Views

Hello. I have started an investigation.


IntelSupport
Community Manager
218 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.


Reply