Skip to content

Commit f4a6dd7

Browse files
committed
GPU Standalone: No need for warmup iteration of double-pipeline with debugging enabled
1 parent 507d171 commit f4a6dd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GPU/GPUTracking/Standalone/Benchmark/standalone.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,7 @@ int32_t main(int argc, char** argv)
902902
double pipelineWalltime = 1.;
903903
if (configStandalone.proc.doublePipeline) {
904904
HighResTimer timerPipeline;
905-
if (RunBenchmark(rec, chainTracking, 1, iEvent, &nTracksTotal, &nClustersTotal) || RunBenchmark(recPipeline, chainTrackingPipeline, 2, iEvent, &nTracksTotal, &nClustersTotal)) {
905+
if (configStandalone.proc.debugLevel < 2 && (RunBenchmark(rec, chainTracking, 1, iEvent, &nTracksTotal, &nClustersTotal) || RunBenchmark(recPipeline, chainTrackingPipeline, 2, iEvent, &nTracksTotal, &nClustersTotal))) {
906906
goto breakrun;
907907
}
908908
auto pipeline1 = std::async(std::launch::async, RunBenchmark, rec, chainTracking, configStandalone.runs, iEvent, &nTracksTotal, &nClustersTotal, 0, &timerPipeline);

0 commit comments

Comments
 (0)