src
DataFormats
ParticleFlowReco
interface
alpaka
PFRecHitFractionDeviceCollection.h
Go to the documentation of this file.
1
#ifndef DataFormats_ParticleFlowReco_interface_alpaka_PFRecHitFractionDeviceCollection_h
2
#define DataFormats_ParticleFlowReco_interface_alpaka_PFRecHitFractionDeviceCollection_h
3
4
#include "
DataFormats/Portable/interface/alpaka/PortableCollection.h
"
5
#include "
DataFormats/ParticleFlowReco/interface/PFRecHitFractionSoA.h
"
6
#include "
DataFormats/ParticleFlowReco/interface/PFRecHitFractionHostCollection.h
"
7
8
namespace
ALPAKA_ACCELERATOR_NAMESPACE::reco
{
9
10
using ::reco::PFRecHitFractionHostCollection
;
11
12
using
PFRecHitFractionDeviceCollection
=
PortableCollection<::reco::PFRecHitFractionSoA>
;
13
}
// namespace ALPAKA_ACCELERATOR_NAMESPACE::reco
14
15
// check that the portable device collection for the host device is the same as the portable host collection
16
ASSERT_DEVICE_MATCHES_HOST_COLLECTION
(
reco::PFRecHitFractionDeviceCollection
,
reco::PFRecHitFractionHostCollection
);
17
18
#endif // DataFormats_ParticleFlowReco_interface_alpaka_PFRecHitFractionDeviceCollection_h
ASSERT_DEVICE_MATCHES_HOST_COLLECTION
#define ASSERT_DEVICE_MATCHES_HOST_COLLECTION(DEVICE_COLLECTION, HOST_COLLECTION)
Definition:
AssertDeviceMatchesHostCollection.h:18
PortableHostCollection
Definition:
PortableHostCollection.h:15
PFRecHitFractionHostCollection.h
PortableCollection.h
PFRecHitFractionSoA.h
ALPAKA_ACCELERATOR_NAMESPACE::reco
Definition:
CaloRecHitDeviceCollection.h:8
PortableDeviceCollection
Definition:
PortableDeviceCollection.h:15
reco::PFRecHitFractionHostCollection
PortableHostCollection< PFRecHitFractionSoA > PFRecHitFractionHostCollection
Definition:
PFRecHitFractionHostCollection.h:8
Generated for CMSSW Reference Manual by
1.8.14