src
DataFormats
ParticleFlowReco
interface
alpaka
PFClusterDeviceCollection.h
Go to the documentation of this file.
1
#ifndef DataFormats_ParticleFlowReco_interface_alpaka_PFClusterDeviceCollection_h
2
#define DataFormats_ParticleFlowReco_interface_alpaka_PFClusterDeviceCollection_h
3
4
#include "
DataFormats/Portable/interface/alpaka/PortableCollection.h
"
5
#include "
DataFormats/ParticleFlowReco/interface/PFClusterSoA.h
"
6
#include "
DataFormats/ParticleFlowReco/interface/PFClusterHostCollection.h
"
7
8
namespace
ALPAKA_ACCELERATOR_NAMESPACE::reco
{
9
10
using ::reco::PFClusterHostCollection
;
11
12
using
PFClusterDeviceCollection
=
PortableCollection<::reco::PFClusterSoA>
;
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::PFClusterDeviceCollection
,
reco::PFClusterHostCollection
);
17
18
#endif // DataFormats_ParticleFlowReco_interface_alpaka_PFClusterDeviceCollection_h
ASSERT_DEVICE_MATCHES_HOST_COLLECTION
#define ASSERT_DEVICE_MATCHES_HOST_COLLECTION(DEVICE_COLLECTION, HOST_COLLECTION)
Definition:
AssertDeviceMatchesHostCollection.h:18
PFClusterHostCollection.h
PortableHostCollection
Definition:
PortableHostCollection.h:15
PortableCollection.h
ALPAKA_ACCELERATOR_NAMESPACE::reco
Definition:
CaloRecHitDeviceCollection.h:8
reco::PFClusterHostCollection
PortableHostCollection< PFClusterSoA > PFClusterHostCollection
Definition:
PFClusterHostCollection.h:9
PortableDeviceCollection
Definition:
PortableDeviceCollection.h:15
PFClusterSoA.h
Generated for CMSSW Reference Manual by
1.8.14