This commit is contained in:
Jokeren
2022-12-06 13:46:21 -08:00
parent 8dd099beef
commit e817fdf1b9
2 changed files with 3 additions and 3 deletions

View File

@@ -4074,7 +4074,7 @@ struct InsertSliceAsyncOpConversion
ptxBuilder.newAddrOperand(srcElems[elemIdx + wordElemIdx], "l");
auto *copySize = ptxBuilder.newConstantOperand(byteWidth);
auto *srcSize = copySize;
if (op.mask()) {
if (llMask) {
// We don't use predicate in this case, setting src-size to 0
// if there's any mask. cp.async will automatically fill the
// remaining slots with 0 if cp-size > src-size.