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

Commit 3a064d0

Browse files
author
Sven Verdoolaege
committed
TuningHarness<Backend>::runOneIteration: use TC_CHECK_GT instead of CHECK_GT
Commit 71c013c (Remove best options fro autotuner and always recover from cache, Mon Jul 23 05:09:48 2018 -0700) introduced a call to CHECK_GT instead of the more usual TC_CHECK_GT, without a motivation for deviating from this norm. Use TC_CHECK_GT instead and make sure no warnings get generated (needed for both TC_CHECK_GT and CHECK_GT).
1 parent 37fe91b commit 3a064d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tc/autotuner/autotuner-inl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ void TuningHarness<Backend>::runOneIteration(
302302
makeTensorInfoVector(outputs_.begin()->second),
303303
Backend::backendString(),
304304
1);
305-
CHECK_GT(vBest.size(), 0);
305+
TC_CHECK_GT(vBest.size(), 0u);
306306
infoPrinter << vBest[0];
307307
LOG_LINE_BY_LINE(INFO, ssInfo);
308308
}

0 commit comments

Comments
 (0)