From dee7953111a051f2527c1542fcae91010b061fe3 Mon Sep 17 00:00:00 2001 From: "Wang, Quintin" Date: Mon, 9 Sep 2024 11:45:21 +0800 Subject: [PATCH] [FIX]: fix incorrect transpose flag for 2DBlockLoad (#2160) `transpose` is wrongly fixed to `false`. --- third_party/intel/lib/TritonIntelGPUToLLVM/TritonOpsToLLVM.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/intel/lib/TritonIntelGPUToLLVM/TritonOpsToLLVM.cpp b/third_party/intel/lib/TritonIntelGPUToLLVM/TritonOpsToLLVM.cpp index 7a8938cbd4..7696abd7cf 100644 --- a/third_party/intel/lib/TritonIntelGPUToLLVM/TritonOpsToLLVM.cpp +++ b/third_party/intel/lib/TritonIntelGPUToLLVM/TritonOpsToLLVM.cpp @@ -220,7 +220,7 @@ class LoadStorePrefetchOpConversion } auto load = rewriter.create( 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));