Skip to content

Commit

Permalink
[FIX]: fix incorrect transpose flag for 2DBlockLoad (#2160)
Browse files Browse the repository at this point in the history
`transpose` is wrongly fixed to `false`.
  • Loading branch information
quintinwang5 authored Sep 9, 2024
1 parent 66bf5d8 commit dee7953
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ class LoadStorePrefetchOpConversion
}
auto load = rewriter.create<TritonGEN::Matrix2DBlockLoadOp>(
loc, vectorType, base, surfaceW, surfaceH, surfaceP, offsetX, offsetY,
dataSize, blockWidth, blockHeight, vBlks, false /*transpose*/, vnni);
dataSize, blockWidth, blockHeight, vBlks, transpose, vnni);
VERIFY_OPERATION(load)

rewriter.replaceOp(op, bitcast(load, resType));
Expand Down

0 comments on commit dee7953

Please sign in to comment.