#include <HelixFitOnGPU.h>
Public Types | |
using | HitsView = TrackingRecHit2DSOAView |
using | OutputSoA = pixelTrack::TrackSoA |
using | TupleMultiplicity = caConstants::TupleMultiplicity |
using | Tuples = pixelTrack::HitContainer |
Public Member Functions | |
void | allocateOnGPU (Tuples const *tuples, TupleMultiplicity const *tupleMultiplicity, OutputSoA *outputSoA) |
void | deallocateOnGPU () |
HelixFitOnGPU (float bf, bool fitNas4) | |
void | launchBrokenLineKernels (HitsView const *hv, uint32_t nhits, uint32_t maxNumberOfTuples, cudaStream_t cudaStream) |
void | launchBrokenLineKernelsOnCPU (HitsView const *hv, uint32_t nhits, uint32_t maxNumberOfTuples) |
void | launchRiemannKernels (HitsView const *hv, uint32_t nhits, uint32_t maxNumberOfTuples, cudaStream_t cudaStream) |
void | launchRiemannKernelsOnCPU (HitsView const *hv, uint32_t nhits, uint32_t maxNumberOfTuples) |
void | setBField (double bField) |
~HelixFitOnGPU () | |
Private Attributes | |
float | bField_ |
const bool | fitNas4_ |
OutputSoA * | outputSoa_ |
TupleMultiplicity const * | tupleMultiplicity_ = nullptr |
Tuples const * | tuples_ = nullptr |
Static Private Attributes | |
static constexpr uint32_t | maxNumberOfConcurrentFits_ = riemannFit::maxNumberOfConcurrentFits |
Definition at line 34 of file HelixFitOnGPU.h.
Definition at line 36 of file HelixFitOnGPU.h.
Definition at line 39 of file HelixFitOnGPU.h.
Definition at line 41 of file HelixFitOnGPU.h.
Definition at line 38 of file HelixFitOnGPU.h.
|
inlineexplicit |
Definition at line 43 of file HelixFitOnGPU.h.
|
inline |
void HelixFitOnGPU::allocateOnGPU | ( | Tuples const * | tuples, |
TupleMultiplicity const * | tupleMultiplicity, | ||
OutputSoA * | outputSoA | ||
) |
Definition at line 4 of file HelixFitOnGPU.cc.
References cms::cuda::assert(), outputSoa_, tupleMultiplicity, tupleMultiplicity_, tuples, and tuples_.
Referenced by CAHitNtupletGeneratorOnGPU::makeTuples(), and CAHitNtupletGeneratorOnGPU::makeTuplesAsync().
void HelixFitOnGPU::deallocateOnGPU | ( | ) |
void HelixFitOnGPU::launchBrokenLineKernels | ( | HitsView const * | hv, |
uint32_t | nhits, | ||
uint32_t | maxNumberOfTuples, | ||
cudaStream_t | cudaStream | ||
) |
Referenced by CAHitNtupletGeneratorOnGPU::makeTuplesAsync().
void HelixFitOnGPU::launchBrokenLineKernelsOnCPU | ( | HitsView const * | hv, |
uint32_t | nhits, | ||
uint32_t | maxNumberOfTuples | ||
) |
Definition at line 3 of file BrokenLineFitOnGPU.cc.
References cms::cuda::assert(), bField_, fitNas4_, maxNumberOfConcurrentFits_, caConstants::maxNumberOfTuples, hltrates_dqm_sourceclient-live_cfg::offset, outputSoa_, mps_setup::stdout, tupleMultiplicity_, and tuples_.
Referenced by CAHitNtupletGeneratorOnGPU::makeTuples().
void HelixFitOnGPU::launchRiemannKernels | ( | HitsView const * | hv, |
uint32_t | nhits, | ||
uint32_t | maxNumberOfTuples, | ||
cudaStream_t | cudaStream | ||
) |
Referenced by CAHitNtupletGeneratorOnGPU::makeTuplesAsync().
void HelixFitOnGPU::launchRiemannKernelsOnCPU | ( | HitsView const * | hv, |
uint32_t | nhits, | ||
uint32_t | maxNumberOfTuples | ||
) |
Definition at line 3 of file RiemannFitOnGPU.cc.
References cms::cuda::assert(), bField_, fitNas4_, maxNumberOfConcurrentFits_, caConstants::maxNumberOfTuples, hltrates_dqm_sourceclient-live_cfg::offset, outputSoa_, tupleMultiplicity_, and tuples_.
Referenced by CAHitNtupletGeneratorOnGPU::makeTuples().
|
inline |
|
private |
Definition at line 63 of file HelixFitOnGPU.h.
Referenced by launchBrokenLineKernelsOnCPU(), launchRiemannKernelsOnCPU(), and setBField().
|
private |
Definition at line 65 of file HelixFitOnGPU.h.
Referenced by launchBrokenLineKernelsOnCPU(), and launchRiemannKernelsOnCPU().
|
staticprivate |
Definition at line 57 of file HelixFitOnGPU.h.
Referenced by launchBrokenLineKernelsOnCPU(), and launchRiemannKernelsOnCPU().
|
private |
Definition at line 62 of file HelixFitOnGPU.h.
Referenced by allocateOnGPU(), launchBrokenLineKernelsOnCPU(), and launchRiemannKernelsOnCPU().
|
private |
Definition at line 61 of file HelixFitOnGPU.h.
Referenced by allocateOnGPU(), launchBrokenLineKernelsOnCPU(), and launchRiemannKernelsOnCPU().
|
private |
Definition at line 60 of file HelixFitOnGPU.h.
Referenced by allocateOnGPU(), launchBrokenLineKernelsOnCPU(), and launchRiemannKernelsOnCPU().