@@ -529,18 +529,18 @@ GPUg() void computeLayerTrackletsMultiROFKernel(
529529 continue ;
530530 }
531531 for (int iPhiCount{0 }; iPhiCount < phiBinsNum; iPhiCount++) {
532- int iPhiBin = (selectedBinsRect.y + iPhiCount) % PhiBins ;
532+ int iPhiBin = (selectedBinsRect.y + iPhiCount) % phiBins ;
533533 const int firstBinIndex{utils->getBinIndex (selectedBinsRect.x , iPhiBin)};
534534 const int maxBinIndex{firstBinIndex + selectedBinsRect.z - selectedBinsRect.x + 1 };
535535 const int firstRowClusterIndex = indexTables[layerIndex + 1 ][(rof1 - startROF) * tableSize + firstBinIndex];
536536 const int maxRowClusterIndex = indexTables[layerIndex + 1 ][(rof1 - startROF) * tableSize + maxBinIndex];
537- if (currentClusterIndex == 0 && layerIndex == 1 && rof0 == 81 && threadIdx .x == 0 ) {
538- printf (" GPU: rof0 : %d rof1 : %d nclus0 : %d nclus1 : %d vertId : %d fbi: %d, mbi: %d, frci: %d, mrci: %d \n " , rof0, rof1, clustersCurrentLayer. size (), clustersNextLayer. size (), iV , firstBinIndex, maxBinIndex, firstRowClusterIndex, maxRowClusterIndex);
539- }
537+ // if (currentClusterIndex == 0 && layerIndex == 1 && rof0 == 81 && threadIdx.x == 0) {
538+ // printf("GPU: pb : %d ipc : %d ipb : %d sbr.x : %d sbr.y : %d sbr.z: %d sbr.w: %d fbi: %d, mbi: %d, frci: %d, mrci: %d \n", phiBins, iPhiCount, iPhiBin, selectedBinsRect.x, selectedBinsRect.y, selectedBinsRect.z, selectedBinsRect.w , firstBinIndex, maxBinIndex, firstRowClusterIndex, maxRowClusterIndex);
539+ // }
540540 for (int iNextCluster{firstRowClusterIndex}; iNextCluster < maxRowClusterIndex; ++iNextCluster) {
541- if (currentClusterIndex == 0 && layerIndex == 1 && rof0 == 81 && threadIdx .x == 0 ) {
542- printf (" \t testing clId: %d ...\n " , iNextCluster);
543- }
541+ // if (currentClusterIndex == 0 && layerIndex == 1 && rof0 == 81 && threadIdx.x == 0) {
542+ // printf("\ttesting clId: %d ...\n", iNextCluster);
543+ // }
544544 if (iNextCluster >= clustersNextLayer.size ()) {
545545 break ;
546546 }
@@ -782,7 +782,7 @@ void computeTrackletsInROFsHandler(const IndexTableUtils* utils,
782782 gpuCheckError (cudaDeviceSynchronize ());
783783 // gpu::printMatrixRow<<<1, 1>>>(iLayer, trackletsLUTs, nClusters[iLayer]);
784784 }
785- // gpu::printTrackletsLUTPerROF<<<1, 1>>>(1, ROFClusters, trackletsLUTs);
785+ gpu::printTrackletsLUTPerROF<<<1 , 1 >>> (1 , ROFClusters, trackletsLUTs);
786786}
787787
788788void countCellsHandler (
0 commit comments