src
RecoParticleFlow
PFClusterProducer
interface
alpaka
PFClusterParamsDeviceCollection.h
Go to the documentation of this file.
1
#ifndef RecoParticleFlow_PFClusterProducer_interface_alpaka_PFClusterParamsDeviceCollection_h
2
#define RecoParticleFlow_PFClusterProducer_interface_alpaka_PFClusterParamsDeviceCollection_h
3
4
#include "
DataFormats/Portable/interface/alpaka/PortableCollection.h
"
5
#include "
HeterogeneousCore/AlpakaInterface/interface/config.h
"
6
7
#include "
RecoParticleFlow/PFClusterProducer/interface/PFClusterParamsHostCollection.h
"
8
#include "
RecoParticleFlow/PFClusterProducer/interface/PFClusterParamsSoA.h
"
9
10
namespace
ALPAKA_ACCELERATOR_NAMESPACE::reco
{
11
12
using ::reco::PFClusterParamsHostCollection
;
13
14
using
PFClusterParamsDeviceCollection
=
PortableCollection<::reco::PFClusterParamsSoA>
;
15
16
}
// namespace ALPAKA_ACCELERATOR_NAMESPACE::reco
17
18
// check that the portable device collection for the host device is the same as the portable host collection
19
ASSERT_DEVICE_MATCHES_HOST_COLLECTION
(
reco::PFClusterParamsDeviceCollection
,
reco::PFClusterParamsHostCollection
);
20
21
#endif
ASSERT_DEVICE_MATCHES_HOST_COLLECTION
#define ASSERT_DEVICE_MATCHES_HOST_COLLECTION(DEVICE_COLLECTION, HOST_COLLECTION)
Definition:
AssertDeviceMatchesHostCollection.h:18
ALPAKA_ACCELERATOR_NAMESPACE::PortableCollection
::PortableCollection< T, Device > PortableCollection
Definition:
PortableCollection.h:17
reco::PFClusterParamsHostCollection
PortableHostCollection< PFClusterParamsSoA > PFClusterParamsHostCollection
Definition:
PFClusterParamsHostCollection.h:10
PortableHostCollection
Definition:
PortableHostCollection.h:16
PFClusterParamsSoA.h
PortableCollection.h
ALPAKA_ACCELERATOR_NAMESPACE::reco::PFClusterParamsDeviceCollection
PortableCollection<::reco::PFClusterParamsSoA > PFClusterParamsDeviceCollection
Definition:
PFClusterParamsDeviceCollection.h:14
ALPAKA_ACCELERATOR_NAMESPACE::reco
Definition:
CaloRecHitDeviceCollection.h:8
PFClusterParamsHostCollection.h
config.h
Generated for CMSSW Reference Manual by
1.8.14