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 4cee34e commit a20b5daCopy full SHA for a20b5da
mlir/lib/Dialect/Rock/Tuning/GridwiseGemmParams.cpp
@@ -141,10 +141,14 @@ class ParamLookupTable {
141
else if (it == relatives.begin())
142
return relatives.front();
143
else {
144
- auto [mismatchNext, _] =
+ auto mismatchNext = target.end();
145
+ std::tie(mismatchNext, std::ignore) =
146
std::mismatch(target.begin(), target.end(), it->begin());
- auto [mismatchPrev, _] =
147
+
148
+ auto mismatchPrev = target.end();
149
+ std::tie(mismatchPrev, std::ignore) =
150
std::mismatch(target.begin(), target.end(), std::prev(it)->begin());
151
152
if (mismatchNext < mismatchPrev)
153
return *std::prev(it);
154
else
0 commit comments