-
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
Add specialisations of make_device_view
with a Queue argument
#45572
Conversation
cms-bot internal usage |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45572/41068 |
A new Pull Request was created by @fwyzard 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 |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45572/41069 |
Pull request #45572 was updated. @cmsbuild, @fwyzard, @jfernan2, @makortel, @mandrenguyen, @srimanob, @subirsarkar can you please check and sign again. |
please test |
@makortel this seems to be useful to reduce the calls to make_device_view(queue, ...); is just a shorthand for make_device_view(alpaka::getDev(queue), ...); and does not introduce any asynchronous behaviour. Do you think this is OK, or potentially too confusing ? |
-1 Failed Tests: Build HeaderConsistency ClangBuild BuildI found compilation error when building: Copying tmp/el8_amd64_gcc12/src/HeterogeneousTest/AlpakaWrapper/src/alpaka/HeterogeneousTestAlpakaWrapperROCmAsync/libHeterogeneousTestAlpakaWrapperROCmAsync_rocm.a to productstore area: Copying tmp/el8_amd64_gcc12/src/RecoParticleFlow/PFRecHitProducer/plugins/RecoParticleFlowPFRecHitProducersPluginsPortableROCmAsync/libRecoParticleFlowPFRecHitProducersPluginsPortableROCmAsync_rocm.a to productstore area: Copying tmp/el8_amd64_gcc12/src/DataFormats/TrackingRecHitSoA/test/Hits_testROCmAsync/libHits_testROCmAsync_rocm.a to productstore area: cp: cannot stat 'tmp/el8_amd64_gcc12/src/DataFormats/TrackingRecHitSoA/test/Hits_testROCmAsync/libHits_testROCmAsync_rocm.a': No such file or directory >> Deleted: tmp/el8_amd64_gcc12/src/DataFormats/TrackingRecHitSoA/test/Hits_testROCmAsync/libHits_testROCmAsync_rocm.a gmake: *** [config/SCRAM/GMake/Makefile.rules:1864: tmp/el8_amd64_gcc12/src/DataFormats/TrackingRecHitSoA/test/Hits_testROCmAsync/libHits_testROCmAsync_rocm.a] Error 1 Copying tmp/el8_amd64_gcc12/src/DataFormats/SiPixelClusterSoA/test/Clusters_testROCmAsync/libClusters_testROCmAsync_rocm.a to productstore area: Copying tmp/el8_amd64_gcc12/src/DataFormats/SiPixelDigiSoA/test/DigiErrors_testROCmAsync/libDigiErrors_testROCmAsync_rocm.a to productstore area: Copying tmp/el8_amd64_gcc12/src/DataFormats/TrackSoA/test/TrackSoAHeterogeneousAlpaka_testROCmAsync/libTrackSoAHeterogeneousAlpaka_testROCmAsync_rocm.a to productstore area: Copying tmp/el8_amd64_gcc12/src/DataFormats/VertexSoA/test/ZVertexSoA_testROCmAsync/libZVertexSoA_testROCmAsync_rocm.a to productstore area: Copying tmp/el8_amd64_gcc12/src/RecoLocalCalo/HcalRecProducers/plugins/RecoLocalCaloHcalRecProducersPluginsPortableROCmAsync/libRecoLocalCaloHcalRecProducersPluginsPortableROCmAsync_rocm.a to productstore area: Clang BuildI found compilation error while trying to compile with clang. Command used:
>> Entering Package RecoLocalCalo/EcalRecProducers >> Entering Package RecoLocalCalo/HGCalRecProducers >> Entering Package RecoLocalTracker/SiPixelClusterizer >> Entering Package RecoTracker/PixelSeeding >> Compile sequence completed for CMSSW CMSSW_14_1_X_2024-07-28-2300 gmake: *** [There are compilation/build errors. Please see the detail log above.] Error 1 + eval scram build outputlog '&&' '(python3' /data/cmsbld/jenkins/workspace/ib-run-pr-tests/cms-bot/buildLogAnalyzer.py --logDir /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_14_1_X_2024-07-28-2300/tmp/el8_amd64_gcc12/cache/log/src '||' 'true)' ++ scram build outputlog >> Entering Package DataFormats/TrackingRecHitSoA Entering library rule at DataFormats/TrackingRecHitSoA >> Compiling src/DataFormats/TrackingRecHitSoA/src/classes.cc |
Hmm. On a quick thought I think the potential for misunderstanding is certainly there. I need to digest a bit more to reach a conclusion whether I'd think it would be too confusing or not. In any case documenting the behavior could help. One possible direction to think about would be to add e.g. |
Pull request #45572 was updated. @cmsbuild, @fwyzard, @jfernan2, @makortel, @mandrenguyen, @srimanob, @subirsarkar can you please check and sign again. |
Updated the documentation and rebased on top of a more recent release. |
please test |
+heterogeneous |
+1 Size: This PR adds an extra 32KB to repository Comparison SummarySummary:
GPU Comparison SummarySummary:
|
+1 |
@cms-sw/upgrade-l2 could you sign this, please ? Alternatively, @cms-sw/orp-l2 could you bypass the upgrade signature and merge this ? |
+Upgrade |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @rappoccio, @sextonkennedy, @antoniovilela, @mandrenguyen (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
Add specialisations of
make_device_view
with aQueue
argument instead of aDevice
.These functions are only for convenience: their behaviour is identical to those taking a
Device
.PR validation:
None.