-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Refactor of PortableCollections #49860
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 |
|
type ngt |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49860/47547
|
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49860/47577
|
|
Pull request #49860 was updated. @Dr15Jones, @bsunanda, @civanch, @cmsbuild, @fwyzard, @hjkwon260, @kpedro88, @makortel, @mdhildreth, @valsdav, @y19y19 can you please check and sign again. |
|
please test |
|
This one would have to be signed and merged by 11PM CET for the backport to be included in 16_0_0 |
|
+heterogeneous |
|
@mandrenguyen thanks for clarifying the timeline. |
|
-1 Failed Tests: UnitTests RelVals-AMD_W7900 Failed Unit TestsI found 1 errors in the following unit tests: ---> test RecoTrackerLSTCore-standalone-compilation had ERRORS Failed RelVals-AMD_W7900
Comparison SummarySummary:
|
Seems like this comment removed the dependency on #49964, but it works for me if I run the unit test locally. |
Yes, I wanted to make sure the failures were not due to some strange interplay. |
|
ignore tests-rejected with ib-failure |
|
Are the @cms-sw/geometry-l2 and @cms-sw/ml-l2 signatures very relevant or just incidental. If it's the latter, we can consider bypassing them. |
|
The changes should be purely technical, mostly swapping the order of two arguments to make them consistent with the other SoA constructors. |
|
The |
|
merge |
[Backport to 16_0_X (#49860)] Refactor of PortableCollections
The
PortableCollectionshave an inconsistent interface if used with a normalLayoutor with anSoABlocks Layout. In the later case, theAlpaka Queueis the first argument, while in the first case it is the other way around. This PR addresses the problem and sets theAlpaka Queuealways as the first argument.Furthermore, the constructors of the
PortableCollectionsare streamlined to always usestd::integalas the input type for the elements. Then achecked_casthas been implemented that checks if casting tointis safe. If so, the inputs are casted toint. Casting tointis necessary since theSoA Layoutsuseintfor the number of elements due to the dependency onROOT.This PR has to be addressed after #49734.
@felicepantaleo fyi