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?
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.