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.
isAdmissibleBSR
1 parent c81bfc6 commit e35b606Copy full SHA for e35b606
mlir/lib/Dialect/SparseTensor/Transforms/SparseGPUCodegen.cpp
@@ -436,7 +436,7 @@ static bool isAdmissibleBSR(SparseTensorType &aTp) {
436
// CuSparse only supports "square" blocks currently.
437
SmallVector<unsigned> dims = getBlockSize(aTp.getDimToLvl());
438
assert(dims.size() == 2);
439
- return dims[0] = dims[1] && dims[0] > 1;
+ return dims[0] == dims[1] && dims[0] > 1;
440
}
441
return false;
442
0 commit comments