File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -718,7 +718,7 @@ int32_t GPUChainTracking::RunChain()
718718 }
719719
720720 if (GetProcessingSettings ().autoAdjustHostThreads && !mRec ->IsGPU () && mIOPtrs .clustersNative ) {
721- mRec ->SetNActiveThreads (mIOPtrs .clustersNative ->nClustersTotal / 5000 );
721+ mRec ->SetNActiveThreads (mIOPtrs .clustersNative ->nClustersTotal / 1500 );
722722 }
723723
724724 if (mIOPtrs .clustersNative && runRecoStep (RecoStep::TPCConversion, &GPUChainTracking::ConvertNativeToClusterData)) {
Original file line number Diff line number Diff line change @@ -577,7 +577,7 @@ int32_t GPUChainTracking::RunTPCClusterizer(bool synchronizeOutput)
577577 return 1 ;
578578 }
579579 if (GetProcessingSettings ().autoAdjustHostThreads && !doGPU) {
580- mRec ->SetNActiveThreads (mRec ->MemoryScalers ()->nTPCdigits / 20000 );
580+ mRec ->SetNActiveThreads (mRec ->MemoryScalers ()->nTPCdigits / 6000 );
581581 }
582582
583583 mRec ->MemoryScalers ()->nTPCHits = mRec ->MemoryScalers ()->NTPCClusters (mRec ->MemoryScalers ()->nTPCdigits );
@@ -1067,6 +1067,10 @@ int32_t GPUChainTracking::RunTPCClusterizer(bool synchronizeOutput)
10671067 mPipelineNotifyCtx = nullptr ;
10681068 }
10691069
1070+ if (GetProcessingSettings ().autoAdjustHostThreads && !doGPU) {
1071+ mRec ->SetNActiveThreads (-1 );
1072+ }
1073+
10701074#endif
10711075 return 0 ;
10721076}
You can’t perform that action at this time.
0 commit comments