@@ -913,20 +913,20 @@ int32_t GPUChainTracking::RunTPCClusterizer(bool synchronizeOutput)
913913 GPUTPCNNClusterizer& clustererNN = processors ()->tpcNNClusterer [iSector];
914914 const GPUSettingsProcessingNNclusterizer& nn_settings = GetProcessingSettings ().nn ;
915915 GPUTPCNNClusterizerHost nnApplication (nn_settings, clustererNN);
916-
916+
917917 if (clustererNN.nnClusterizerUseCfRegression || (int )(nn_settings.nnClusterizerApplyCfDeconvolution )) {
918918 runKernel<GPUTPCCFDeconvolution>({GetGrid (clusterer.mPmemory ->counters .nPositions , lane), {iSector}});
919919 DoDebugAndDump (RecoStep::TPCClusterFinding, 262144 << 4 , clusterer, &GPUTPCClusterFinder::DumpChargeMap, *mDebugFile , " Split Charges" );
920920 }
921-
921+
922922 float time_clusterizer = 0 , time_fill = 0 ;
923923 for (int batch = 0 ; batch < std::ceil ((float )clusterer.mPmemory ->counters .nClusters / clustererNN.nnClusterizerBatchedMode ); batch++) {
924924 uint batchStart = batch * clustererNN.nnClusterizerBatchedMode ;
925925 size_t iSize = CAMath::Min ((uint)clustererNN.nnClusterizerBatchedMode , (uint)(clusterer.mPmemory ->counters .nClusters - batchStart));
926-
926+
927927 auto start0 = std::chrono::high_resolution_clock::now ();
928928 runKernel<GPUTPCNNClusterizerKernels, GPUTPCNNClusterizerKernels::fillInputNN>({GetGrid (iSize, lane, GPUReconstruction::krnlDeviceType::CPU), {iSector}}, processors (), iSector, clustererNN.nnClusterizerDtype , 0 , batchStart); // Filling the data
929-
929+
930930 auto stop0 = std::chrono::high_resolution_clock::now ();
931931 auto start1 = std::chrono::high_resolution_clock::now ();
932932 nnApplication.networkInference (nnApplication.model_class , clustererNN, iSize, clustererNN.modelProbabilities , clustererNN.nnClusterizerDtype );
@@ -945,7 +945,7 @@ int32_t GPUChainTracking::RunTPCClusterizer(bool synchronizeOutput)
945945 }
946946 }
947947 auto stop1 = std::chrono::high_resolution_clock::now ();
948-
948+
949949 time_clusterizer += std::chrono::duration_cast<std::chrono::nanoseconds>(stop1 - start1).count () / 1e9 ;
950950 time_fill += std::chrono::duration_cast<std::chrono::nanoseconds>(stop0 - start0).count () / 1e9 ;
951951 }
0 commit comments