From e5c677ca90791614f179ee261d1cc13c018bfa2e Mon Sep 17 00:00:00 2001 From: Felix Weiglhofer Date: Tue, 20 Jan 2026 15:05:24 +0100 Subject: [PATCH] GPU: Don't override --recoSteps flags in standalone. --- .../Standalone/Benchmark/standalone.cxx | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/GPU/GPUTracking/Standalone/Benchmark/standalone.cxx b/GPU/GPUTracking/Standalone/Benchmark/standalone.cxx index 5fa9da23d7423..a2e74c45fcb86 100644 --- a/GPU/GPUTracking/Standalone/Benchmark/standalone.cxx +++ b/GPU/GPUTracking/Standalone/Benchmark/standalone.cxx @@ -413,6 +413,18 @@ int32_t SetupReconstruction() steps.steps.setBits(gpudatatypes::RecoStep::TPCClusterFinding, false); } + // Set settings for synchronous + GPUChainTracking::ApplySyncSettings(procSet, recSet, steps.steps, configStandalone.testSyncAsync || configStandalone.testSync, configStandalone.rundEdx); + int32_t runAsyncQA = procSet.runQA && !configStandalone.testSyncAsyncQcInSync ? procSet.runQA : 0; + if (configStandalone.testSyncAsync) { + procSet.eventDisplay = nullptr; + if (!configStandalone.testSyncAsyncQcInSync) { + procSet.runQA = false; + } + } + + // Apply --recoSteps flag last so it takes precedence + // E.g. ApplySyncSettings might enable TPCdEdx, but might not be needed if only clusterizer was requested if (configStandalone.recoSteps >= 0) { steps.steps &= configStandalone.recoSteps; } @@ -432,16 +444,6 @@ int32_t SetupReconstruction() } } - // Set settings for synchronous - GPUChainTracking::ApplySyncSettings(procSet, recSet, steps.steps, configStandalone.testSyncAsync || configStandalone.testSync, configStandalone.rundEdx); - int32_t runAsyncQA = procSet.runQA && !configStandalone.testSyncAsyncQcInSync ? procSet.runQA : 0; - if (configStandalone.testSyncAsync) { - procSet.eventDisplay = nullptr; - if (!configStandalone.testSyncAsyncQcInSync) { - procSet.runQA = false; - } - } - rec->SetSettings(&grp, &recSet, &procSet, &steps); if (configStandalone.proc.doublePipeline) { recPipeline->SetSettings(&grp, &recSet, &procSet, &steps);