1 #ifndef RecoTracker_PixelVertexFinding_plugins_alpaka_fitVertices_h 2 #define RecoTracker_PixelVertexFinding_plugins_alpaka_fitVertices_h 8 #include <alpaka/alpaka.hpp> 18 template <
typename TAcc>
27 auto& __restrict__
ws =
pws;
29 float const* __restrict__
zt =
ws.zt();
30 float const* __restrict__
ezt2 =
ws.ezt2();
37 int32_t* __restrict__
nn =
data.ndof();
38 int32_t* __restrict__
iv =
ws.iv();
52 auto&
noise = alpaka::declareSharedVar<int, __COUNTER__>(acc);
58 alpaka::syncBlockThreads(acc);
74 alpaka::syncBlockThreads(acc);
81 alpaka::syncBlockThreads(acc);
97 alpaka::syncBlockThreads(acc);
107 printf(
"and %d noise\n",
noise);
114 template <
typename TAcc>
126 #endif // RecoTracker_PixelVertexFinding_plugins_alpaka_fitVertices_h
ALPAKA_FN_ACC ALPAKA_FN_INLINE void VtxSoAView & pdata
uint32_t & nvIntermediate
fitVertices(pdata, pws, maxChi2ForFirstFit)
float const *__restrict__ ezt2
ALPAKA_FN_ACC ALPAKA_FN_INLINE void VtxSoAView WsSoAView & pws
std::vector< Block > Blocks
::vertexFinder::PixelVertexWorkSpaceSoAView WsSoAView
float const *__restrict__ zt
::reco::ZVertexSoAView VtxSoAView
T1 atomicAdd(T1 *a, T2 b)
ALPAKA_FN_ACC ALPAKA_FN_INLINE void __attribute__((always_inline)) clusterTracksByDensity(const TAcc &acc
ALPAKA_FN_ACC ALPAKA_FN_INLINE VtxSoAView WsSoAView float chi2Max
ALPAKA_FN_ACC void operator()(const TAcc &acc, VtxSoAView pdata, WsSoAView pws, float chi2Max) const