-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Propagate templates for SoABlocks #49578
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
Conversation
|
cms-bot internal usage |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49578/47106
|
|
A new Pull Request was created by @Electricks94 for master. It involves the following packages:
@cmsbuild, @fwyzard, @makortel can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
DataFormats/SoATemplate/README.md
Outdated
|
|
||
| It is also possible to generate methods inside `View` and `ConstView` using the `SOA_VIEW_METHODS` and | ||
| `SOA_CONST_VIEW_METHODS` in the same way as described in [Customized methods](#customized-methods). | ||
| `SoABlocks` also supports `View` and `ConstView` classes. In addition to those fully parametrized templates, two others levels of parametrization are provided: `ViewTemplate`, `ViewViewTemplateFreeParams` and respectively `ConstViewTemplate`, `ConstViewTemplateFreeParams`, mirroring the structure of the underlying structs. The blocks are built via composition and access to individual layouts and views is provided by name. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is ViewViewTemplateFreeParams a typo ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes this is a typo. I fixed it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks 👍🏻
|
please test |
|
+1 Size: This PR adds an extra 16KB to repository DAS Queries: The DAS query tests failed, see the summary page for details. Comparison SummarySummary:
|
|
Other than maybe fixing a typo in the documentation, the changes look OK. |
c7cd26b to
a4047ad
Compare
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49578/47120
|
|
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. @ftenchini, @mandrenguyen, @sextonkennedy (and backports should be raised in the release meeting by the corresponding L2) |
|
+1 Size: This PR adds an extra 28KB to repository DAS Queries: The DAS query tests failed, see the summary page for details. Comparison SummarySummary:
|
|
+1 |
|
type ngt |
This PR propagates the templates of the
SoABlocksand itsViewto the sub-layouts and their views. In Particular the template parameterALIGNMENT_ENFORCEMENTwas not propagated to the sub-layouts. Also theSoABlocksonly had aViewand aConstView, without templates. This means for the sub-layouts only the defaultViewandConstViewwas usably. With this PR theSoABlocksis extended with theConstViewTemplateFreeParams,ConstViewTemplate,ViewTemplateFreeParamsandViewTemplate.@felicepantaleo fyi