1 #ifndef RecoPixelVertexing_PixelVertexFinding_gpuFitVertices_h 2 #define RecoPixelVertexing_PixelVertexFinding_gpuFitVertices_h 7 #include <alpaka/alpaka.hpp> 15 template <
typename TAcc>
25 auto& __restrict__
ws =
pws;
27 float const* __restrict__
zt =
ws.zt();
28 float const* __restrict__
ezt2 =
ws.ezt2();
35 int32_t* __restrict__
nn =
data.ndof();
36 int32_t* __restrict__
iv =
ws.iv();
50 auto&
noise = alpaka::declareSharedVar<int, __COUNTER__>(acc);
56 alpaka::syncBlockThreads(acc);
72 alpaka::syncBlockThreads(acc);
79 alpaka::syncBlockThreads(acc);
95 alpaka::syncBlockThreads(acc);
105 printf(
"and %d noise\n",
noise);
112 template <
typename TAcc>
123 #endif // RecoPixelVertexing_PixelVertexFinding_plugins_gpuFitVertices_h
ALPAKA_FN_ACC ALPAKA_FN_INLINE void VtxSoAView & pdata
uint32_t & nvIntermediate
fitVertices(pdata, pws, maxChi2ForFirstFit)
ALPAKA_ASSERT_OFFLOAD(zt)
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