Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Commit bb78adb

Browse files
Exit loop upon SIG_INT
1 parent 7e2df7c commit bb78adb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tc/autotuner/autotuner-inl.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,7 @@ Autotuner<Backend, SearchStrategy>::tune(
458458
std::this_thread::sleep_for(std::chrono::milliseconds(100));
459459
if (sigint_) {
460460
tuningHarness.stopAfterCurrentIteration();
461+
break;
461462
}
462463
if (sigterm_) {
463464
std::cerr << "Autotuning aborted." << std::endl;

0 commit comments

Comments
 (0)