-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve the SoA accessors and optimisations #39919
Conversation
Return const scalars by const reference instead of by value, which would break non-trivially copiable types.
Update the SoA tests to check the various ways of taking the address of a column, scalar, or Eigen column fields.
@ericcano could you double check these changes, and in particular
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-39919/32834
|
A new Pull Request was created by @fwyzard (Andrea Bocci) for master. It involves the following packages:
@cmsbuild, @makortel, @fwyzard can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
Remove the __builtin_assume_aligned compiler hints from the SoA fields, as it breaks the __restrict__ optimizations in nvcc.
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-39919/33010
|
please test |
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-39919/33045
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
Add support for SoA view-level indexed access of Eigen columns and enable the corresponding test.
89e4807
to
4f89eee
Compare
583be5f
to
067becf
Compare
please test |
+heterogeneous |
This pull request is fully signed and it will be integrated in one of the next master IBs after it passes the integration tests. 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) |
@perrotta @rappoccio sorry the delay; can we have this in CMSSW_12_6_0_pre5 ? The SoA code is not used in production anywhere, but having this in the (pre)release would ease the work of the various developers. |
type bugfix |
-1 Failed Tests: UnitTests RelVals-INPUT Unit TestsI found errors in the following unit tests: ---> test test-das-selected-lumis had ERRORS RelVals-INPUTThe relvals timed out after 4 hours. Comparison SummarySummary:
GPU Comparison SummarySummary:
|
+1
|
merge |
PR description:
These changes fix various issues with the SoA accessors:
__builtin_assume_aligned
compiler hints from the SoA fields, as it breaks the__restrict__
optimizations in nvcc;Extend the tests to check the access by (const) reference, the access to Eigen SoA columns, and the improved range checking.
PR validation:
Fixes a simple test provided by @borzari .
The updated unit test passes all checks.
If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for:
To be backported to CMSSW 12.5.x to ease the migration to Alpaka.