We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73ba52b commit b31b082Copy full SHA for b31b082
kernels/portable/cpu/util/repeat_util.cpp
@@ -68,7 +68,7 @@ bool check_repeat_args(
68
}
69
for (size_t i = 0; i < repeats.size(); i++) {
70
ET_CHECK_OR_RETURN_FALSE(
71
- reformat_self_size[i] * repeats[i] ==
+ reformat_self_size[i] * static_cast<size_t>(repeats[i]) ==
72
static_cast<uint64_t>(out.size(i)),
73
"Expect out size at dimension %zu is %" PRId64 ", but now is %zd",
74
i,
0 commit comments