src
RecoTracker
PixelVertexFinding
plugins
PixelVertexWorkSpaceSoADevice.h
Go to the documentation of this file.
1
#ifndef RecoTracker_PixelVertexFinding_plugins_PixelVertexWorkSpaceSoADevice_h
2
#define RecoTracker_PixelVertexFinding_plugins_PixelVertexWorkSpaceSoADevice_h
3
4
#include "
CUDADataFormats/Common/interface/PortableDeviceCollection.h
"
5
#include "
CUDADataFormats/Vertex/interface/ZVertexUtilities.h
"
6
#include "
RecoTracker/PixelVertexFinding/plugins/PixelVertexWorkSpaceUtilities.h
"
7
8
template
<
int
32_t S>
9
class
PixelVertexWorkSpaceSoADevice
:
public
cms::cuda::PortableDeviceCollection
<PixelVertexWSSoALayout<>> {
10
public
:
11
PixelVertexWorkSpaceSoADevice
() =
default
;
12
13
// Constructor which specifies the SoA size and CUDA stream
14
explicit
PixelVertexWorkSpaceSoADevice
(cudaStream_t
stream
)
15
:
PortableDeviceCollection
<
PixelVertexWSSoALayout
<>>(
S
,
stream
) {}
16
};
17
18
namespace
gpuVertexFinder
{
19
namespace
workSpace {
20
using
PixelVertexWorkSpaceSoADevice
=
PixelVertexWorkSpaceSoADevice<zVertex::utilities::MAXTRACKS>
;
21
}
22
}
// namespace gpuVertexFinder
23
#endif
PortableDeviceCollection.h
cms::cuda::PortableDeviceCollection
Definition:
PortableDeviceCollection.h:13
PixelVertexWorkSpaceSoADevice::PixelVertexWorkSpaceSoADevice
PixelVertexWorkSpaceSoADevice(cudaStream_t stream)
Definition:
PixelVertexWorkSpaceSoADevice.h:14
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
PixelVertexWorkSpaceSoADevice::PixelVertexWorkSpaceSoADevice
PixelVertexWorkSpaceSoADevice()=default
PixelVertexWSSoALayout
Definition:
PixelVertexWorkSpaceUtilities.h:17
PixelVertexWorkSpaceUtilities.h
PixelVertexWorkSpaceSoADevice
Definition:
PixelVertexWorkSpaceSoADevice.h:9
S
Definition:
CSCDBL1TPParametersExtended.h:16
gpuVertexFinder
Definition:
gpuClusterTracksByDensity.h:13
PortableDeviceCollection
Definition:
PortableDeviceCollection.h:15
ZVertexUtilities.h
Generated for CMSSW Reference Manual by
1.8.14