#include <CAHitNtupletGeneratorKernels.h>
Public Member Functions | |
void | allocateOnGPU (int32_t nHits, cudaStream_t stream) |
void | buildDoublets (const HitsConstView &hh, cudaStream_t stream) |
CAHitNtupletGeneratorKernels (Params const ¶ms) | |
void | classifyTuples (const HitsConstView &hh, TkSoAView &track_view, cudaStream_t cudaStream) |
void | cleanup (cudaStream_t cudaStream) |
void | launchKernels (const HitsConstView &hh, TkSoAView &track_view, cudaStream_t cudaStream) |
void | setCounters (Counters *counters) |
TupleMultiplicity const * | tupleMultiplicity () const |
~CAHitNtupletGeneratorKernels ()=default | |
Static Public Member Functions | |
static void | printCounters (Counters const *counters) |
Protected Member Functions | |
uint32_t | nDoubletBlocks (uint32_t blockSize) |
Compute the number of doublet blocks for block size. More... | |
uint32_t | nQuadrupletBlocks (uint32_t blockSize) |
Compute the number of quadruplet blocks for block size. More... | |
Protected Attributes | |
unique_ptr< unsigned char[]> | cellStorage_ |
Counters * | counters_ = nullptr |
unique_ptr< HitToTuple > | device_hitToTuple_ |
cms::cuda::AtomicPairCounter * | device_hitToTuple_apc_ = nullptr |
unique_ptr< uint32_t[]> | device_hitToTupleStorage_ |
cms::cuda::AtomicPairCounter * | device_hitTuple_apc_ = nullptr |
unique_ptr< OuterHitOfCellContainer[]> | device_isOuterHitOfCell_ |
uint32_t * | device_nCells_ = nullptr |
unique_ptr< cms::cuda::AtomicPairCounter::c_type[]> | device_storage_ |
unique_ptr< CellNeighborsVector > | device_theCellNeighbors_ |
CellNeighbors * | device_theCellNeighborsContainer_ |
unique_ptr< CACell[]> | device_theCells_ |
unique_ptr< CellTracksVector > | device_theCellTracks_ |
CellTracks * | device_theCellTracksContainer_ |
unique_ptr< TupleMultiplicity > | device_tupleMultiplicity_ |
HitToTuple::View | hitToTupleView_ |
OuterHitOfCell | isOuterHitOfCell_ |
Params | params_ |
const uint32_t | paramsMaxDoubletes3Quarters_ |
Intermediate result avoiding repeated computations. More... | |
Definition at line 198 of file CAHitNtupletGeneratorKernels.h.
using CAHitNtupletGeneratorKernels< TTraits, TTTraits >::CACell = GPUCACellT<TrackerTraits> |
Definition at line 223 of file CAHitNtupletGeneratorKernels.h.
using CAHitNtupletGeneratorKernels< TTraits, TTTraits >::CAParams = caHitNtupletGenerator::CAParamsT<TrackerTraits> |
Definition at line 204 of file CAHitNtupletGeneratorKernels.h.
using CAHitNtupletGeneratorKernels< TTraits, TTTraits >::CellNeighbors = caStructures::CellNeighborsT<TrackerTraits> |
Definition at line 217 of file CAHitNtupletGeneratorKernels.h.
using CAHitNtupletGeneratorKernels< TTraits, TTTraits >::CellNeighborsVector = caStructures::CellNeighborsVectorT<TrackerTraits> |
Definition at line 216 of file CAHitNtupletGeneratorKernels.h.
using CAHitNtupletGeneratorKernels< TTraits, TTTraits >::CellTracks = caStructures::CellTracksT<TrackerTraits> |
Definition at line 219 of file CAHitNtupletGeneratorKernels.h.
using CAHitNtupletGeneratorKernels< TTraits, TTTraits >::CellTracksVector = caStructures::CellTracksVectorT<TrackerTraits> |
Definition at line 218 of file CAHitNtupletGeneratorKernels.h.
using CAHitNtupletGeneratorKernels< TTraits, TTTraits >::Counters = caHitNtupletGenerator::Counters |
Definition at line 205 of file CAHitNtupletGeneratorKernels.h.
using CAHitNtupletGeneratorKernels< TTraits, TTTraits >::HitContainer = typename TrackSoA<TrackerTraits>::HitContainer |
Definition at line 226 of file CAHitNtupletGeneratorKernels.h.
using CAHitNtupletGeneratorKernels< TTraits, TTTraits >::HitsConstView = TrackingRecHitSoAConstView<TrackerTraits> |
Definition at line 211 of file CAHitNtupletGeneratorKernels.h.
using CAHitNtupletGeneratorKernels< TTraits, TTTraits >::HitsView = TrackingRecHitSoAView<TrackerTraits> |
Definition at line 210 of file CAHitNtupletGeneratorKernels.h.
using CAHitNtupletGeneratorKernels< TTraits, TTTraits >::HitToTuple = caStructures::HitToTupleT<TrackerTraits> |
Definition at line 214 of file CAHitNtupletGeneratorKernels.h.
using CAHitNtupletGeneratorKernels< TTraits, TTTraits >::OuterHitOfCell = caStructures::OuterHitOfCellT<TrackerTraits> |
Definition at line 221 of file CAHitNtupletGeneratorKernels.h.
using CAHitNtupletGeneratorKernels< TTraits, TTTraits >::OuterHitOfCellContainer = caStructures::OuterHitOfCellContainerT<TrackerTraits> |
Definition at line 220 of file CAHitNtupletGeneratorKernels.h.
using CAHitNtupletGeneratorKernels< TTraits, TTTraits >::Params = caHitNtupletGenerator::ParamsT<TrackerTraits> |
Definition at line 203 of file CAHitNtupletGeneratorKernels.h.
using CAHitNtupletGeneratorKernels< TTraits, TTTraits >::Quality = pixelTrack::Quality |
Definition at line 225 of file CAHitNtupletGeneratorKernels.h.
using CAHitNtupletGeneratorKernels< TTraits, TTTraits >::QualityCuts = pixelTrack::QualityCutsT<TrackerTraits> |
Definition at line 202 of file CAHitNtupletGeneratorKernels.h.
using CAHitNtupletGeneratorKernels< TTraits, TTTraits >::TkSoAView = TrackSoAView<TrackerTraits> |
Definition at line 212 of file CAHitNtupletGeneratorKernels.h.
using CAHitNtupletGeneratorKernels< TTraits, TTTraits >::TrackerTraits = TTTraits |
Definition at line 201 of file CAHitNtupletGeneratorKernels.h.
using CAHitNtupletGeneratorKernels< TTraits, TTTraits >::Traits = TTraits |
Definition at line 200 of file CAHitNtupletGeneratorKernels.h.
using CAHitNtupletGeneratorKernels< TTraits, TTTraits >::TupleMultiplicity = caStructures::TupleMultiplicityT<TrackerTraits> |
Definition at line 215 of file CAHitNtupletGeneratorKernels.h.
using CAHitNtupletGeneratorKernels< TTraits, TTTraits >::unique_ptr = typename Traits::template unique_ptr<T> |
Definition at line 208 of file CAHitNtupletGeneratorKernels.h.
|
inline |
Definition at line 228 of file CAHitNtupletGeneratorKernels.h.
|
default |
void CAHitNtupletGeneratorKernels< TTraits, TTTraits >::allocateOnGPU | ( | int32_t | nHits, |
cudaStream_t | stream | ||
) |
void CAHitNtupletGeneratorKernels< TTraits, TTTraits >::buildDoublets | ( | const HitsConstView & | hh, |
cudaStream_t | stream | ||
) |
void CAHitNtupletGeneratorKernels< TTraits, TTTraits >::classifyTuples | ( | const HitsConstView & | hh, |
TkSoAView & | track_view, | ||
cudaStream_t | cudaStream | ||
) |
void CAHitNtupletGeneratorKernels< TTraits, TTTraits >::cleanup | ( | cudaStream_t | cudaStream | ) |
void CAHitNtupletGeneratorKernels< TTraits, TTTraits >::launchKernels | ( | const HitsConstView & | hh, |
TkSoAView & | track_view, | ||
cudaStream_t | cudaStream | ||
) |
|
inlineprotected |
Compute the number of doublet blocks for block size.
Definition at line 277 of file CAHitNtupletGeneratorKernels.h.
|
inlineprotected |
Compute the number of quadruplet blocks for block size.
Definition at line 283 of file CAHitNtupletGeneratorKernels.h.
|
static |
|
inline |
Definition at line 244 of file CAHitNtupletGeneratorKernels.h.
|
inline |
Definition at line 233 of file CAHitNtupletGeneratorKernels.h.
|
protected |
Definition at line 249 of file CAHitNtupletGeneratorKernels.h.
|
protected |
Definition at line 247 of file CAHitNtupletGeneratorKernels.h.
Referenced by CAHitNtupletGeneratorKernels< cms::cudacompat::CPUTraits, TrackerTraits >::setCounters().
|
protected |
Definition at line 260 of file CAHitNtupletGeneratorKernels.h.
|
protected |
Definition at line 264 of file CAHitNtupletGeneratorKernels.h.
|
protected |
Definition at line 261 of file CAHitNtupletGeneratorKernels.h.
|
protected |
Definition at line 266 of file CAHitNtupletGeneratorKernels.h.
|
protected |
Definition at line 256 of file CAHitNtupletGeneratorKernels.h.
|
protected |
Definition at line 258 of file CAHitNtupletGeneratorKernels.h.
|
protected |
Definition at line 270 of file CAHitNtupletGeneratorKernels.h.
|
protected |
Definition at line 250 of file CAHitNtupletGeneratorKernels.h.
|
protected |
Definition at line 251 of file CAHitNtupletGeneratorKernels.h.
|
protected |
Definition at line 255 of file CAHitNtupletGeneratorKernels.h.
|
protected |
Definition at line 252 of file CAHitNtupletGeneratorKernels.h.
|
protected |
Definition at line 253 of file CAHitNtupletGeneratorKernels.h.
|
protected |
Definition at line 268 of file CAHitNtupletGeneratorKernels.h.
Referenced by CAHitNtupletGeneratorKernels< cms::cudacompat::CPUTraits, TrackerTraits >::tupleMultiplicity().
|
protected |
Definition at line 262 of file CAHitNtupletGeneratorKernels.h.
|
protected |
Definition at line 257 of file CAHitNtupletGeneratorKernels.h.
|
protected |
Definition at line 273 of file CAHitNtupletGeneratorKernels.h.
|
protected |
Intermediate result avoiding repeated computations.
Definition at line 275 of file CAHitNtupletGeneratorKernels.h.
Referenced by CAHitNtupletGeneratorKernels< cms::cudacompat::CPUTraits, TrackerTraits >::nDoubletBlocks().