src
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
14
//#define GPU_DEBUG
15
16
namespace
pixelgpudetails
{
17
18
template
<
typename
TrackerTraits>
19
class
PixelRecHitGPUKernel
{
20
public
:
21
PixelRecHitGPUKernel
() =
default
;
22
~PixelRecHitGPUKernel
() =
default
;
23
24
PixelRecHitGPUKernel
(
const
PixelRecHitGPUKernel
&) =
delete
;
25
PixelRecHitGPUKernel
(
PixelRecHitGPUKernel
&&) =
delete
;
26
PixelRecHitGPUKernel
&
operator=
(
const
PixelRecHitGPUKernel
&) =
delete
;
27
PixelRecHitGPUKernel
&
operator=
(
PixelRecHitGPUKernel
&&) =
delete
;
28
29
using
ParamsOnGPU
=
pixelCPEforGPU::ParamsOnGPUT<TrackerTraits>
;
30
31
TrackingRecHitSoADevice<TrackerTraits>
makeHitsAsync
(
SiPixelDigisCUDA
const
& digis_d,
32
SiPixelClustersCUDA
const
& clusters_d,
33
BeamSpotCUDA
const
& bs_d,
34
ParamsOnGPU
const
* cpeParams,
35
cudaStream_t
stream
)
const
;
36
};
37
38
}
// namespace pixelgpudetails
39
40
#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:19
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:16
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