src
DataFormats
BeamSpot
interface
alpaka
BeamSpotDevice.h
Go to the documentation of this file.
1
#ifndef DataFormats_BeamSpot_interface_alpaka_BeamSpotDevice_h
2
#define DataFormats_BeamSpot_interface_alpaka_BeamSpotDevice_h
3
4
#include "
DataFormats/BeamSpot/interface/BeamSpotHost.h
"
5
#include "
DataFormats/BeamSpot/interface/BeamSpotPOD.h
"
6
#include "
DataFormats/Portable/interface/alpaka/PortableObject.h
"
7
#include "
HeterogeneousCore/AlpakaInterface/interface/config.h
"
8
9
namespace
ALPAKA_ACCELERATOR_NAMESPACE
{
10
11
// simplified representation of the beamspot data, in device global memory
12
using
BeamSpotDevice
=
PortableObject<BeamSpotPOD>
;
13
14
}
// namespace ALPAKA_ACCELERATOR_NAMESPACE
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
(
BeamSpotDevice
,
BeamSpotHost
);
18
19
#endif // DataFormats_BeamSpot_interface_alpaka_BeamSpotDevice_h
BeamSpotPOD.h
BeamSpotHost
PortableHostObject< BeamSpotPOD > BeamSpotHost
Definition:
BeamSpotHost.h:8
PortableDeviceObject
Definition:
PortableDeviceObject.h:15
ASSERT_DEVICE_MATCHES_HOST_COLLECTION
#define ASSERT_DEVICE_MATCHES_HOST_COLLECTION(DEVICE_COLLECTION, HOST_COLLECTION)
Definition:
AssertDeviceMatchesHostCollection.h:18
ALPAKA_ACCELERATOR_NAMESPACE
Definition:
EcalElectronicsMappingDevice.h:10
BeamSpotHost.h
PortableObject.h
ALPAKA_ACCELERATOR_NAMESPACE::BeamSpotDevice
PortableObject< BeamSpotPOD > BeamSpotDevice
Definition:
BeamSpotDevice.h:12
config.h
Generated for CMSSW Reference Manual by
1.8.14