src
DataFormats
Portable
interface
alpaka
PortableObject.h
Go to the documentation of this file.
1
#ifndef DataFormats_Portable_interface_alpaka_PortableObject_h
2
#define DataFormats_Portable_interface_alpaka_PortableObject_h
3
4
#include <alpaka/alpaka.hpp>
5
6
#include "
DataFormats/Portable/interface/PortableObject.h
"
7
#include "
HeterogeneousCore/AlpakaInterface/interface/config.h
"
8
9
// This header is not used by PortableObject, but is included here to automatically
10
// provide its content to users of ALPAKA_ACCELERATOR_NAMESPACE::PortableObject.
11
#include "
HeterogeneousCore/AlpakaInterface/interface/AssertDeviceMatchesHostCollection.h
"
12
13
namespace
ALPAKA_ACCELERATOR_NAMESPACE
{
14
15
// generic struct-based product in the device (that may be host) memory
16
template
<
typename
T>
17
using
PortableObject
=
::PortableObject<T, Device>
;
18
19
}
// namespace ALPAKA_ACCELERATOR_NAMESPACE
20
21
#endif // DataFormats_Portable_interface_alpaka_PortableObject_h
PortableObject.h
ALPAKA_ACCELERATOR_NAMESPACE::PortableObject
::PortableObject< T, Device > PortableObject
Definition:
PortableObject.h:17
ALPAKA_ACCELERATOR_NAMESPACE
Definition:
SiPixelCablingSoAESProducer.cc:21
AssertDeviceMatchesHostCollection.h
config.h
Generated for CMSSW Reference Manual by
1.8.14