Skip to content

Commit 768fd50

Browse files
committed
GPU Standalone: Make setO2Settings compatible with debug mode
1 parent a657810 commit 768fd50

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

GPU/GPUTracking/Standalone/Benchmark/standalone.cxx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -214,11 +214,11 @@ int32_t ReadConfiguration(int argc, char** argv)
214214
}
215215
}
216216
if (configStandalone.setO2Settings) {
217-
if (!(configStandalone.inputcontrolmem && configStandalone.outputcontrolmem)) {
218-
printf("setO2Settings requires the usage of --inputMemory and --outputMemory as in O2\n");
219-
return 1;
220-
}
221-
if (configStandalone.runGPU) {
217+
if (configStandalone.runGPU && configStandalone.proc.debugLevel <= 1) {
218+
if (!(configStandalone.inputcontrolmem && configStandalone.outputcontrolmem)) {
219+
printf("setO2Settings requires the usage of --inputMemory and --outputMemory as in O2\n");
220+
return 1;
221+
}
222222
configStandalone.proc.forceHostMemoryPoolSize = 1024 * 1024 * 1024;
223223
}
224224
configStandalone.rec.tpc.trackReferenceX = 83;

0 commit comments

Comments
 (0)