[TBB] Fix concurrent_[bounded_]queue correctness on weak memory models [13.0.x]#8358
Conversation
Co-authored-by: Ivan Razumov <ivan.razumov@cern.ch> Co-authored-by: Andrea Bocci <andrea.bocci@cern.ch>
|
type bugfix |
|
backport #8355 |
|
A new Pull Request was created by @fwyzard (Andrea Bocci) for branch IB/CMSSW_13_0_X/master. @cmsbuild, @smuzaffar, @aandvalenzuela, @iarspider can you please review it and eventually sign? Thanks. |
|
please test |
|
please test for el8_ppc64le_gcc11 |
|
please test for el8_aarch64_gcc11 |
|
urgent @perrotta, @rappoccio, as this is a bug fix, can we have it in 13.0.0 ? |
|
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-b1cccf/31070/summary.html The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic: You can see more details here: |
|
-1 Failed Tests: UnitTests RelVals The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic: You can see more details here: Unit TestsI found errors in the following unit tests: ---> test testONNXRuntime had ERRORS ---> test testFWCoreConcurrency had ERRORS RelVals |
|
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-b1cccf/31069/summary.html Comparison SummarySummary:
|
|
please test for el8_ppc64le_gcc11 |
|
-1 Failed Tests: UnitTests Unit TestsI found errors in the following unit tests: ---> test testONNXRuntime had ERRORS ---> test testFWCoreConcurrency had ERRORS |
|
please test |
|
please test for el8_aarch64_gcc11 |
|
@fwyzard I started this morning the build of CMSSW_13_0_1 and I forgot to (test and, if successful) include this one |
|
Hi @perrotta, |
|
The long version is: this PR fixes a problem in TBB queues on ARM and Power - but we've lived with it for years now, so empirically it should not break anything. Given how TBB queues are used in the framework, it may lead to a non optimal reuse of resources, but it should introduce any incorrect behaviour. While there may be other code that benefits from the optimal behaviour, a So, the fix is good to have, but not critical. |
|
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-b1cccf/31539/summary.html The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic: You can see more details here: |
|
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-b1cccf/31541/summary.html Comparison SummarySummary:
|
|
+externals |
|
This pull request is fully signed and it will be integrated in one of the next IB/CMSSW_13_0_X/master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
|
merging it for next 13.0.X IB so that it can be part of next 13.0.2 release |
Applied oneapi-src/oneTBB#782 patch on top of v2021.8.0 .
This should fix the testFWCoreUtilities failure in ARM IBs