Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:27:21

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