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

Commit 563e793

Browse files
Merge pull request #577 from facebookresearch/pr/fix-576
TuningHarness<Backend>::runOneIteration: use TC_CHECK_GT instead of CHECK_GT
2 parents 2ced786 + 3a064d0 commit 563e793

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)