Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ class TransLocalLoadOpConversion

// If we are lowering a subslice, the subslice offsets shall not touch the
// contiguous part of the tile
if (maskSpanAffineOffset & (tile.getOutDimSizeLog2(kOffset) - 1)) {
if (maskSpanAffineOffset & (tile.getOutDimSize(kOffset) - 1)) {
return failure();
}

Expand Down
2 changes: 1 addition & 1 deletion third_party/nvidia/lib/TritonNVIDIAGPUToLLVM/Utility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ LogicalResult lowerLdStMatrix(

// If we are lowering a subslice, the subslice offsets shall not touch the
// contiguous part of the tile
if (maskSpanAffineOffset & (tile.getOutDimSizeLog2(kOffset) - 1)) {
if (maskSpanAffineOffset & (tile.getOutDimSize(kOffset) - 1)) {
return failure();
}

Expand Down