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