#include <cstdint>
#include <cuda_runtime.h>
#include "CUDADataFormats/TrackingRecHit/interface/TrackingRecHit2DHeterogeneous.h"
#include "HeterogeneousCore/CUDAUtilities/interface/cudaCheck.h"
#include "HeterogeneousCore/CUDAUtilities/interface/cuda_assert.h"
#include "RecoLocalTracker/SiPixelRecHits/interface/pixelCPEforGPU.h"
#include "RecoPixelVertexing/PixelTrackFitting/interface/RiemannFit.h"
#include "HelixFitOnGPU.h"
Go to the source code of this file.
Typedefs | |
using | HitsOnGPU = TrackingRecHit2DSOAView |
using | OutputSoA = pixelTrack::TrackSoA |
using | Tuples = pixelTrack::HitContainer |
Functions | |
template<int N> | |
__attribute__ ((always_inline)) void kernel_FastFit(Tuples const *__restrict__ foundNtuplets | |
assert (foundNtuplets) | |
assert (hitsInFit<=nHits) | |
assert (pfast_fit) | |
assert (tupleMultiplicity) | |
for (int local_idx=local_start, nt=riemannFit::maxNumberOfConcurrentFits;local_idx< nt;local_idx+=gridDim.x *blockDim.x) | |
Variables | |
const caConstants::TupleMultiplicity *__restrict__ uint32_t const HitsOnGPU *__restrict__ | hhp |
auto | local_start = blockIdx.x * blockDim.x + threadIdx.x |
const caConstants::TupleMultiplicity *__restrict__ uint32_t | nHits |
const caConstants::TupleMultiplicity *__restrict__ uint32_t const HitsOnGPU *__restrict__ double *__restrict__ float *__restrict__ double *__restrict__ uint32_t | offset |
const caConstants::TupleMultiplicity *__restrict__ uint32_t const HitsOnGPU *__restrict__ double *__restrict__ float *__restrict__ double *__restrict__ | pfast_fit |
const caConstants::TupleMultiplicity *__restrict__ uint32_t const HitsOnGPU *__restrict__ double *__restrict__ | phits |
const caConstants::TupleMultiplicity *__restrict__ uint32_t const HitsOnGPU *__restrict__ double *__restrict__ float *__restrict__ | phits_ge |
const caConstants::TupleMultiplicity *__restrict__ | tupleMultiplicity |
using HitsOnGPU = TrackingRecHit2DSOAView |
Definition at line 17 of file RiemannFitOnGPU.h.
using OutputSoA = pixelTrack::TrackSoA |
Definition at line 19 of file RiemannFitOnGPU.h.
using Tuples = pixelTrack::HitContainer |
Definition at line 18 of file RiemannFitOnGPU.h.
|
inline |
Definition at line 87 of file RiemannFitOnGPU.h.
References assert(), Calorimetry_cff::bField, cms::cudacompat::blockDim, cms::cudacompat::blockIdx, riemannFit::circleFit(), cms::cudacompat::gridDim, hfClusterShapes_cfi::hits, riemannFit::loadCovariance2D(), local_start, riemannFit::maxNumberOfConcurrentFits, N, nHits, nt, offset, phits, phits_ge, cms::cudacompat::threadIdx, and tupleMultiplicity.
assert | ( | foundNtuplets | ) |
assert | ( | hitsInFit<= | nHits | ) |
Referenced by __attribute__(), and for().
assert | ( | pfast_fit | ) |
assert | ( | tupleMultiplicity | ) |
for | ( | int | local_idx = local_start | ) |
Definition at line 46 of file RiemannFitOnGPU.h.
References assert(), riemannFit::fastFit(), foundNtuplets, amptDefault_cfi::frame, hhp, hfClusterShapes_cfi::hits, mps_fire::i, LaserClient_cfi::nbins, nHits, offset, pfast_fit, phits, phits_ge, and tupleMultiplicity.
const caConstants::TupleMultiplicity* __restrict__ uint32_t const HitsOnGPU* __restrict__ hhp |
Definition at line 23 of file RiemannFitOnGPU.h.
Referenced by for().
auto local_start = blockIdx.x * blockDim.x + threadIdx.x |
Definition at line 39 of file RiemannFitOnGPU.h.
Referenced by __attribute__().
const caConstants::TupleMultiplicity* __restrict__ uint32_t nHits |
Definition at line 23 of file RiemannFitOnGPU.h.
Referenced by __attribute__(), and for().
const caConstants::TupleMultiplicity* __restrict__ uint32_t const HitsOnGPU* __restrict__ double* __restrict__ float* __restrict__ double* __restrict__ uint32_t offset |
Definition at line 29 of file RiemannFitOnGPU.h.
Referenced by __attribute__(), and for().
const caConstants::TupleMultiplicity* __restrict__ uint32_t const HitsOnGPU* __restrict__ double* __restrict__ float* __restrict__ double* __restrict__ pfast_fit |
Definition at line 23 of file RiemannFitOnGPU.h.
Referenced by for().
const caConstants::TupleMultiplicity* __restrict__ uint32_t const HitsOnGPU* __restrict__ double* __restrict__ phits |
Definition at line 23 of file RiemannFitOnGPU.h.
Referenced by __attribute__(), and for().
const caConstants::TupleMultiplicity* __restrict__ uint32_t const HitsOnGPU* __restrict__ double* __restrict__ float* __restrict__ phits_ge |
Definition at line 23 of file RiemannFitOnGPU.h.
Referenced by __attribute__(), and for().
const caConstants::TupleMultiplicity* __restrict__ tupleMultiplicity |
Definition at line 23 of file RiemannFitOnGPU.h.
Referenced by __attribute__(), and for().