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_PFClusterDeviceCollection_h
0002 #define DataFormats_ParticleFlowReco_interface_alpaka_PFClusterDeviceCollection_h
0003 
0004 #include "DataFormats/Portable/interface/alpaka/PortableCollection.h"
0005 #include "DataFormats/ParticleFlowReco/interface/PFClusterSoA.h"
0006 #include "DataFormats/ParticleFlowReco/interface/PFClusterHostCollection.h"
0007 
0008 namespace ALPAKA_ACCELERATOR_NAMESPACE::reco {
0009 
0010   using ::reco::PFClusterHostCollection;
0011 
0012   using PFClusterDeviceCollection = PortableCollection<::reco::PFClusterSoA>;
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::PFClusterDeviceCollection, reco::PFClusterHostCollection);
0017 
0018 #endif  // DataFormats_ParticleFlowReco_interface_alpaka_PFClusterDeviceCollection_h