src
DataFormats
VertexSoA
interface
alpaka
ZVertexSoACollection.h
Go to the documentation of this file.
1
#ifndef DataFormats_VertexSoA_interface_ZVertexSoACollection_h
2
#define DataFormats_VertexSoA_interface_ZVertexSoACollection_h
3
4
#include <cstdint>
5
6
#include <alpaka/alpaka.hpp>
7
8
#include "
DataFormats/Portable/interface/alpaka/PortableCollection.h
"
9
#include "
DataFormats/VertexSoA/interface/ZVertexDevice.h
"
10
#include "
DataFormats/VertexSoA/interface/ZVertexHost.h
"
11
#include "
DataFormats/VertexSoA/interface/ZVertexSoA.h
"
12
#include "
HeterogeneousCore/AlpakaInterface/interface/CopyToHost.h
"
13
#include "
HeterogeneousCore/AlpakaInterface/interface/config.h
"
14
15
namespace
ALPAKA_ACCELERATOR_NAMESPACE
{
16
17
using
ZVertexSoACollection
=
18
std::conditional_t<std::is_same_v<Device, alpaka::DevCpu>,
ZVertexHost
,
ZVertexDevice<Device>
>;
19
20
}
// namespace ALPAKA_ACCELERATOR_NAMESPACE
21
22
ASSERT_DEVICE_MATCHES_HOST_COLLECTION
(
ZVertexSoACollection
,
ZVertexHost
);
23
24
#endif // DataFormats_VertexSoA_interface_ZVertexSoACollection_h
ZVertexSoA.h
ALPAKA_ACCELERATOR_NAMESPACE::ZVertexSoACollection
std::conditional_t< std::is_same_v< Device, alpaka::DevCpu >, ZVertexHost, ZVertexDevice< Device > > ZVertexSoACollection
Definition:
ZVertexSoACollection.h:18
ASSERT_DEVICE_MATCHES_HOST_COLLECTION
#define ASSERT_DEVICE_MATCHES_HOST_COLLECTION(DEVICE_COLLECTION, HOST_COLLECTION)
Definition:
AssertDeviceMatchesHostCollection.h:18
PortableDeviceMultiCollection
Definition:
PortableDeviceCollection.h:87
ALPAKA_ACCELERATOR_NAMESPACE
Definition:
SiPixelCablingSoAESProducer.cc:21
ZVertexHost.h
PortableCollection.h
CopyToHost.h
PortableHostMultiCollection
Definition:
PortableHostCollection.h:102
ZVertexHost
PortableHostCollection2< reco::ZVertexSoA, reco::ZVertexTracksSoA > ZVertexHost
Definition:
ZVertexHost.h:12
config.h
ZVertexDevice.h
Generated for CMSSW Reference Manual by
1.8.14