/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DataFormats/ParticleFlowReco/interface/alpaka/PFRecHitDeviceCollection.h
19 строк
949 B
jsamudio
Add implementation of PFClusterSoAProducer
11 дек 2023, 17:53
11 дек 2023, 17:53
e381569
Код
Авторство
О чём код?
#ifndef DataFormats_ParticleFlowReco_interface_alpaka_PFRecHitDeviceCollection_h #define DataFormats_ParticleFlowReco_interface_alpaka_PFRecHitDeviceCollection_h #include "DataFormats/ParticleFlowReco/interface/PFRecHitHostCollection.h" #include "DataFormats/ParticleFlowReco/interface/PFRecHitSoA.h" #include "DataFormats/Portable/interface/alpaka/PortableCollection.h" #include "HeterogeneousCore/AlpakaInterface/interface/config.h" namespace ALPAKA_ACCELERATOR_NAMESPACE::reco { using ::reco::PFRecHitHostCollection; using PFRecHitDeviceCollection = PortableCollection<::reco::PFRecHitSoA>; } // namespace ALPAKA_ACCELERATOR_NAMESPACE::reco // check that the portable device collection for the host device is the same as the portable host collection ASSERT_DEVICE_MATCHES_HOST_COLLECTION(reco::PFRecHitDeviceCollection, reco::PFRecHitHostCollection); #endif // DataFormats_ParticleFlowReco_interface_alpaka_PFRecHitDeviceCollection_h