Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.
Announcements
The Intel sign-in experience is changing in February to support enhanced security controls. If you sign in, click here for more information.
2442 Discussions

Intermittent malfunction of tbb::parallel_for

yangsa
Beginner
374 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
347 Views

Hello. I have started an investigation.


IntelSupport
Community Manager
340 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