Skip to content

Commit 7b264f9

Browse files
committed
Removed wait() call at the end of benchmark on Linux
1 parent 6bfc415 commit 7b264f9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,13 @@ int main(int argc, char* argv[]) {
186186
} else {
187187
for(uint i=0u; i<(uint)devices.size(); i++) benchmark_device(devices[i]);
188188
}
189+
#ifdef _WIN32
189190
println("|-----------------------------------------------------------------------------|");
190191
println("| Done. Press Enter to exit. |");
191192
println("'-----------------------------------------------------------------------------'");
192193
wait();
194+
#else // Linux
195+
println("'-----------------------------------------------------------------------------'");
196+
#endif // Linux
193197
return 0;
194198
}

0 commit comments

Comments
 (0)