src
DataFormats
ParticleFlowReco
interface
alpaka
PFRecHitDeviceCollection.h
Go to the documentation of this file.
1
#ifndef DataFormats_ParticleFlowReco_interface_alpaka_PFRecHitDeviceCollection_h
2
#define DataFormats_ParticleFlowReco_interface_alpaka_PFRecHitDeviceCollection_h
3
4
#include "
DataFormats/ParticleFlowReco/interface/PFRecHitHostCollection.h
"
5
#include "
DataFormats/ParticleFlowReco/interface/PFRecHitSoA.h
"
6
#include "
DataFormats/Portable/interface/alpaka/PortableCollection.h
"
7
#include "
HeterogeneousCore/AlpakaInterface/interface/config.h
"
8
9
namespace
ALPAKA_ACCELERATOR_NAMESPACE::reco
{
10
11
using ::reco::PFRecHitHostCollection
;
12
using
PFRecHitDeviceCollection
=
PortableCollection<::reco::PFRecHitSoA>
;
13
14
}
// namespace ALPAKA_ACCELERATOR_NAMESPACE::reco
15
16
// check that the portable device collection for the host device is the same as the portable host collection
17
ASSERT_DEVICE_MATCHES_HOST_COLLECTION
(
reco::PFRecHitDeviceCollection
,
reco::PFRecHitHostCollection
);
18
19
#endif // DataFormats_ParticleFlowReco_interface_alpaka_PFRecHitDeviceCollection_h
reco::PFRecHitHostCollection
PortableHostCollection< PFRecHitSoA > PFRecHitHostCollection
Definition:
PFRecHitHostCollection.h:9
PFRecHitHostCollection.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
PortableCollection.h
ALPAKA_ACCELERATOR_NAMESPACE::reco
Definition:
CaloRecHitDeviceCollection.h:8
PortableDeviceCollection
Definition:
PortableDeviceCollection.h:15
config.h
PFRecHitSoA.h
Generated for CMSSW Reference Manual by
1.8.14