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_PFRecHitFractionDeviceCollection_h
0002 #define DataFormats_ParticleFlowReco_interface_alpaka_PFRecHitFractionDeviceCollection_h
0003 
0004 #include "DataFormats/Portable/interface/alpaka/PortableCollection.h"
0005 #include "DataFormats/ParticleFlowReco/interface/PFRecHitFractionSoA.h"
0006 #include "DataFormats/ParticleFlowReco/interface/PFRecHitFractionHostCollection.h"
0007 
0008 namespace ALPAKA_ACCELERATOR_NAMESPACE::reco {
0009 
0010   using ::reco::PFRecHitFractionHostCollection;
0011 
0012   using PFRecHitFractionDeviceCollection = PortableCollection<::reco::PFRecHitFractionSoA>;
0013 }  // namespace ALPAKA_ACCELERATOR_NAMESPACE::reco
0014 
0015 // check that the portable device collection for the host device is the same as the portable host collection
0016 ASSERT_DEVICE_MATCHES_HOST_COLLECTION(reco::PFRecHitFractionDeviceCollection, reco::PFRecHitFractionHostCollection);
0017 
0018 #endif  // DataFormats_ParticleFlowReco_interface_alpaka_PFRecHitFractionDeviceCollection_h