Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Properties
_
a
c
d
e
f
l
m
o
p
s
t
u
v
+
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
src
CUDADataFormats
Vertex
interface
ZVertexSoAHeterogeneousHost.h
Go to the documentation of this file.
1
#ifndef CUDADataFormats_Vertex_ZVertexHeterogeneousHost_H
2
#define CUDADataFormats_Vertex_ZVertexHeterogeneousHost_H
3
4
#include <cstdint>
5
6
#include "
CUDADataFormats/Vertex/interface/ZVertexUtilities.h
"
7
#include "
CUDADataFormats/Common/interface/PortableHostCollection.h
"
8
9
// TODO: The class is created via inheritance of the PortableHostCollection.
10
// This is generally discouraged, and should be done via composition.
11
// See: https://github.com/cms-sw/cmssw/pull/40465#discussion_r1067364306
12
template
<
int
32_t S>
13
class
ZVertexSoAHeterogeneousHost
:
public
cms::cuda::PortableHostCollection
<ZVertexSoAHeterogeneousLayout<>> {
14
public
:
15
explicit
ZVertexSoAHeterogeneousHost
() :
cms
::
cuda
::
PortableHostCollection
<
ZVertexSoAHeterogeneousLayout
<>>(
S
) {}
16
17
// Constructor which specifies the SoA size and CUDA stream
18
explicit
ZVertexSoAHeterogeneousHost
(cudaStream_t
stream
)
19
:
PortableHostCollection
<
ZVertexSoAHeterogeneousLayout
<>>(
S
,
stream
) {}
20
};
21
22
using
ZVertexSoAHost
=
ZVertexSoAHeterogeneousHost<zVertex::utilities::MAXTRACKS>
;
23
24
#endif // CUDADataFormats_Vertex_ZVertexHeterogeneousHost_H
cms::cuda::stream
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
Definition:
HistoContainer.h:51
PortableHostCollection.h
cms::cuda::PortableHostCollection
Definition:
PortableHostCollection.h:13
PortableHostCollection
Definition:
PortableHostCollection.h:16
S
Definition:
CSCDBL1TPParametersExtended.h:16
cms
Namespace of DDCMS conversion namespace.
Definition:
ProducerAnalyzer.cc:41
ZVertexSoAHeterogeneousLayout
Definition:
ZVertexUtilities.h:15
ZVertexSoAHeterogeneousHost::ZVertexSoAHeterogeneousHost
ZVertexSoAHeterogeneousHost()
Definition:
ZVertexSoAHeterogeneousHost.h:15
ecalDigis_cff.cuda
cuda
Definition:
ecalDigis_cff.py:33
ZVertexSoAHeterogeneousHost::ZVertexSoAHeterogeneousHost
ZVertexSoAHeterogeneousHost(cudaStream_t stream)
Definition:
ZVertexSoAHeterogeneousHost.h:18
ZVertexSoAHeterogeneousHost
Definition:
ZVertexSoAHeterogeneousHost.h:13
ZVertexUtilities.h
Generated for CMSSW Reference Manual by
1.8.14