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;
145 constexpr
int numBlocks = 1024;
146 constexpr
int threadsPerBlock = 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>>>(
173 splitVerticesKernel<<<numBlocks, threadsPerBlock, 0, stream>>>(
soa, ws_d.view(),
maxChi2ForSplit);
177 sortByPt2Kernel<<<1, maxThreadsForPrint, 0, stream>>>(
soa, ws_d.view());
188 #ifdef PIXVERTEX_DEBUG_PRODUCE 189 std::cout <<
"found " << ws_d.view().nvIntermediate() <<
" vertices " << std::endl;
190 #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)
constexpr float maxChi2ForFinalFit
#define cudaCheck(ARG,...)
constexpr float maxChi2ForSplit
PixelVertexWorkSpaceSoADevice< zVertex::utilities::MAXTRACKS > PixelVertexWorkSpaceSoADevice