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

Commit 437a3b8

Browse files
committed
MLP_model.cc: silence -Wsign-compare
1 parent 330978e commit 437a3b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tc/benchmarks/MLP_model.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,8 @@ void ProductionModel::runATen1LUT() {
286286
}
287287

288288
void ProductionModel::run2LUT(const tc::CudaMappingOptions& options) {
289-
TC_CHECK_LT(0, E1);
290-
TC_CHECK_LT(0, E2);
289+
TC_CHECK_LT(0u, E1);
290+
TC_CHECK_LT(0u, E2);
291291
auto ws_init_func = [=](Workspace& w) {
292292
AddDeterministicallyRandomInput<caffe2::CUDABackend, float>(
293293
w, {E1, D}, "LUT1");

0 commit comments

Comments
 (0)