Skip to content

Commit 8f9f7e8

Browse files
committed
break long lines
1 parent 22223b0 commit 8f9f7e8

File tree

1 file changed

+10
-3
lines changed
  • third_party/intel/include/Dialect/TritonIntelGPU/Transforms

1 file changed

+10
-3
lines changed

third_party/intel/include/Dialect/TritonIntelGPU/Transforms/Passes.td

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -410,14 +410,21 @@ def TritonIntelGPUReduceVariableLiveness
410410
"mlir::arith::ArithDialect"];
411411
}
412412

413-
def TritonIntelGPUOptimizeBlockIOEncodingPass : Pass<"tritonintelgpu-optimize-block-io-encoding", "mlir::ModuleOp"> {
413+
def TritonIntelGPUOptimizeBlockIOEncodingPass
414+
: Pass<"tritonintelgpu-optimize-block-io-encoding", "mlir::ModuleOp"> {
414415
let summary = "Set encodings on candidates for Subgroup 2D Block IO ops";
415416

416417
let description = [{
417-
Set the Subgroup2DBlock encoding on tensor ptr types that are candidates for Subgroup 2D Block IO lowering. The goal is to change the tensor ptr type to use the new encoding so the LoadOp will use the new encoding, allowing the encoding to be an anchor layout during RemoveLayoutConversions. To avoid duplicating work in RemoveLayoutConversions, a ConvertLayout op to the existing encoding replaces the result of the LoadOp.
418+
Set the Subgroup2DBlock encoding on tensor ptr types that are candidates for Subgroup 2D Block IO lowering.
419+
420+
The goal is to change the tensor ptr type to use the new encoding so the LoadOp will use the new encoding, allowing the
421+
encoding to be an anchor layout during RemoveLayoutConversions. To avoid duplicating work in RemoveLayoutConversions, a
422+
ConvertLayout op to the existing encoding replaces the result of the LoadOp.
418423
}];
419424

420-
let dependentDialects = ["mlir::triton::gpu::TritonGPUDialect", "mlir::triton::gpu::intel::TritonIntelGPUDialect", "mlir::triton::TritonDialect"];
425+
let dependentDialects = ["mlir::triton::gpu::TritonGPUDialect",
426+
"mlir::triton::gpu::intel::TritonIntelGPUDialect",
427+
"mlir::triton::TritonDialect"];
421428
}
422429

423430
#endif // TRITON_INTEL_GPU_PASSES

0 commit comments

Comments
 (0)