RecoLocalTracker
SiPixelRecHits
plugins
PixelRecHitGPUKernel.h
Go to the documentation of this file.
1
#ifndef RecoLocalTracker_SiPixelRecHits_plugins_PixelRecHitGPUKernel_h
2
#define RecoLocalTracker_SiPixelRecHits_plugins_PixelRecHitGPUKernel_h
3
4
#include <cstdint>
5
6
#include <cuda_runtime.h>
7
8
#include "
CUDADataFormats/BeamSpot/interface/BeamSpotCUDA.h
"
9
#include "
CUDADataFormats/SiPixelCluster/interface/SiPixelClustersCUDA.h
"
10
#include "
CUDADataFormats/SiPixelDigi/interface/SiPixelDigisCUDA.h
"
11
#include "
CUDADataFormats/TrackingRecHit/interface/TrackingRecHitSoADevice.h
"
12
#include "
Geometry/CommonTopologies/interface/SimplePixelTopology.h
"
13
//#define GPU_DEBUG
14
namespace
pixelgpudetails
{
15
16
template
<
typename
TrackerTraits>
17
class
PixelRecHitGPUKernel
{
18
public
:
19
PixelRecHitGPUKernel
() =
default
;
20
~PixelRecHitGPUKernel
() =
default
;
21
22
PixelRecHitGPUKernel
(
const
PixelRecHitGPUKernel
&) =
delete
;
23
PixelRecHitGPUKernel
(
PixelRecHitGPUKernel
&&) =
delete
;
24
PixelRecHitGPUKernel
&
operator=
(
const
PixelRecHitGPUKernel
&) =
delete
;
25
PixelRecHitGPUKernel
&
operator=
(
PixelRecHitGPUKernel
&&) =
delete
;
26
27
using
ParamsOnGPU
=
pixelCPEforGPU::ParamsOnGPUT<TrackerTraits>
;
28
29
TrackingRecHitSoADevice<TrackerTraits>
makeHitsAsync
(
SiPixelDigisCUDA
const
& digis_d,
30
SiPixelClustersCUDA
const
& clusters_d,
31
BeamSpotCUDA
const
& bs_d,
32
ParamsOnGPU
const
* cpeParams,
33
cudaStream_t
stream
)
const
;
34
};
35
36
}
// namespace pixelgpudetails
37
38
#endif // RecoLocalTracker_SiPixelRecHits_plugins_PixelRecHitGPUKernel_h
SiPixelClustersCUDA
Definition:
SiPixelClustersCUDA.h:26
pixelgpudetails::PixelRecHitGPUKernel::~PixelRecHitGPUKernel
~PixelRecHitGPUKernel()=default
BeamSpotCUDA
Definition:
BeamSpotCUDA.h:9
SimplePixelTopology.h
TrackingRecHitSoADevice.h
SiPixelDigisCUDA.h
pixelgpudetails::PixelRecHitGPUKernel::PixelRecHitGPUKernel
PixelRecHitGPUKernel()=default
pixelgpudetails::PixelRecHitGPUKernel
Definition:
PixelRecHitGPUKernel.h:17
pixelgpudetails::PixelRecHitGPUKernel::operator=
PixelRecHitGPUKernel & operator=(const PixelRecHitGPUKernel &)=delete
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
TrackingRecHitSoADevice
Definition:
TrackingRecHitSoADevice.h:12
BeamSpotCUDA.h
SiPixelClustersCUDA.h
SiPixelDigisCUDA
Definition:
SiPixelDigisCUDA.h:26
pixelCPEforGPU::ParamsOnGPUT< TrackerTraits >
pixelgpudetails
Definition:
SiPixelROCsStatusAndMapping.h:4
pixelgpudetails::PixelRecHitGPUKernel::makeHitsAsync
TrackingRecHitSoADevice< TrackerTraits > makeHitsAsync(SiPixelDigisCUDA const &digis_d, SiPixelClustersCUDA const &clusters_d, BeamSpotCUDA const &bs_d, ParamsOnGPU const *cpeParams, cudaStream_t stream) const
Generated for CMSSW Reference Manual by
1.8.14