116 #ifdef PIXVERTEX_DEBUG_PRODUCE 117 std::cout <<
"producing Vertices on CPU" << std::endl;
118 #endif // PIXVERTEX_DEBUG_PRODUCE 132 init<<<1, 1, 0, stream>>>(
soa, ws_d.view());
133 auto blockSize = 128;
134 auto numberOfBlocks = (
tracks_view.metadata().size() + blockSize - 1) / blockSize;
144 constexpr int maxThreadsForPrint = 1024 - 128;
150 #ifndef THREE_KERNELS 156 splitVerticesKernel<<<numBlocks, threadsPerBlock, 0, stream>>>(
soa, ws_d.view(),
maxChi2ForSplit);
158 vertexFinderKernel2<<<1, maxThreadsForPrint, 0, stream>>>(
soa, ws_d.view());
162 clusterTracksByDensityKernel<<<1, maxThreadsForPrint, 0, stream>>>(
174 splitVerticesKernel<<<numBlocks, threadsPerBlock, 0, stream>>>(
soa, ws_d.view(),
maxChi2ForSplit);
179 sortByPt2Kernel<<<1, maxThreadsForPrint, 0, stream>>>(
soa, ws_d.view());
190 #ifdef PIXVERTEX_DEBUG_PRODUCE 191 std::cout <<
"found " << ws_d.view().nvIntermediate() <<
" vertices " << std::endl;
192 #endif // PIXVERTEX_DEBUG_PRODUCE uint32_t const *__restrict__ TkSoAView< TrackerTraits > tracks_view
fitVertices(pdata, pws, maxChi2ForFirstFit)
PixelVertexWorkSpaceSoAHost< zVertex::utilities::MAXTRACKS > PixelVertexWorkSpaceSoAHost
VtxSoAView WsSoAView float ptMin
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
constexpr float maxChi2ForFirstFit
VtxSoAView WsSoAView float float ptMax
splitVertices(pdata, pws, maxChi2ForSplit)
ALPAKA_FN_ACC ALPAKA_FN_INLINE void clusterTracksByDensity(Acc1D const &acc, VtxSoAView &data, TrkSoAView &trkdata, WsSoAView &ws, int minT, float eps, float errmax, float chi2max)
constexpr float maxChi2ForFinalFit
#define cudaCheck(ARG,...)
constexpr float maxChi2ForSplit
PixelVertexWorkSpaceSoADevice< zVertex::utilities::MAXTRACKS > PixelVertexWorkSpaceSoADevice