src
DataFormats
Portable
interface
PortableCollection.h
Go to the documentation of this file.
1
#ifndef DataFormats_Portable_interface_PortableCollection_h
2
#define DataFormats_Portable_interface_PortableCollection_h
3
4
#include "
HeterogeneousCore/AlpakaInterface/interface/traits.h
"
5
6
namespace
traits
{
7
8
// trait for a generic SoA-based product
9
template
<
typename
T,
typename
TDev,
typename
= std::enable_if_t<alpaka::isDevice<TDev>>>
10
class
PortableCollectionTrait
;
11
12
}
// namespace traits
13
14
// type alias for a generic SoA-based product
15
template
<
typename
T,
typename
TDev,
typename
= std::enable_if_t<alpaka::isDevice<TDev>>>
16
using
PortableCollection
=
typename
traits::PortableCollectionTrait<T, TDev>::CollectionType
;
17
18
#endif // DataFormats_Portable_interface_PortableCollection_h
traits::PortableCollectionTrait
Definition:
PortableCollection.h:10
traits
Definition:
PortableCollection.h:36
traits.h
PortableCollection
typename traits::PortableCollectionTrait< T, TDev >::CollectionType PortableCollection
Definition:
PortableCollection.h:16
Generated for CMSSW Reference Manual by
1.8.14