I saw this in the TBB tutorial:
The instrumentation support for Intel Parallel Inspector becomes live after the first
initialization of the task library (3.1). If the library components are used before this
initialization occurs, Intel Parallel Inspector may falsely report race conditions that
are not really races.
I don't understand it. Does it mean when I run my program (using tbb) multiple times in the inspector, false reace conditions will be reported?
I interpret the caution as, make
sure the TBB task scheduler is initialized before using the library components
in your source. If TBB is not implemented
properly, then unexpected results may occur when your application is executed. Section 3.1 of the Intel
Threading Building Blocks tutorial provides additional information about how
the task scheduler is or can be initialized.
So, make sure the TBB implantation is working from that perspective
before running analysis.
For reference, this question also appears to be posted on the TBB forum.