Skip to content

Commit 5ef3da9

Browse files
committed
GPU Standalone: No need for warmup iteration of double-pipeline with debugging enabled
1 parent b0a8563 commit 5ef3da9

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
@@ -901,7 +901,7 @@ int32_t main(int argc, char** argv)
901901
double pipelineWalltime = 1.;
902902
if (configStandalone.proc.doublePipeline) {
903903
HighResTimer timerPipeline;
904-
if (RunBenchmark(rec, chainTracking, 1, iEvent, &nTracksTotal, &nClustersTotal) || RunBenchmark(recPipeline, chainTrackingPipeline, 2, iEvent, &nTracksTotal, &nClustersTotal)) {
904+
if (configStandalone.proc.debugLevel < 2 && (RunBenchmark(rec, chainTracking, 1, iEvent, &nTracksTotal, &nClustersTotal) || RunBenchmark(recPipeline, chainTrackingPipeline, 2, iEvent, &nTracksTotal, &nClustersTotal))) {
905905
goto breakrun;
906906
}
907907
auto pipeline1 = std::async(std::launch::async, RunBenchmark, rec, chainTracking, configStandalone.runs, iEvent, &nTracksTotal, &nClustersTotal, 0, &timerPipeline);

0 commit comments

Comments
 (0)