Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:04:51

0001 #ifndef DataFormats_ParticleFlowReco_interface_alpaka_PFRecHitDeviceCollection_h
0002 #define DataFormats_ParticleFlowReco_interface_alpaka_PFRecHitDeviceCollection_h
0003 
0004 #include "DataFormats/ParticleFlowReco/interface/PFRecHitHostCollection.h"
0005 #include "DataFormats/ParticleFlowReco/interface/PFRecHitSoA.h"
0006 #include "DataFormats/Portable/interface/alpaka/PortableCollection.h"
0007 #include "HeterogeneousCore/AlpakaInterface/interface/config.h"
0008 
0009 namespace ALPAKA_ACCELERATOR_NAMESPACE::reco {
0010 
0011   using ::reco::PFRecHitHostCollection;
0012   using PFRecHitDeviceCollection = PortableCollection<::reco::PFRecHitSoA>;
0013 
0014 }  // namespace ALPAKA_ACCELERATOR_NAMESPACE::reco
0015 
0016 // check that the portable device collection for the host device is the same as the portable host collection
0017 ASSERT_DEVICE_MATCHES_HOST_COLLECTION(reco::PFRecHitDeviceCollection, reco::PFRecHitHostCollection);
0018 
0019 #endif  // DataFormats_ParticleFlowReco_interface_alpaka_PFRecHitDeviceCollection_h