[all-commits] [llvm/llvm-project] bad2ae: [mlir][linalg] Implement TilingInterface for winog...

Hsiangkai Wang via All-commits all-commits at lists.llvm.org
Sat Aug 3 08:40:17 PDT 2024


  Branch: refs/heads/users/hsiangkai/winograd-tiling
  Home:   https://github.com/llvm/llvm-project
  Commit: bad2ae08252a7d95e4655cf4fe080004a440ecf9
      https://github.com/llvm/llvm-project/commit/bad2ae08252a7d95e4655cf4fe080004a440ecf9
  Author: Hsiangkai Wang <hsiangkai.wang at arm.com>
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td
    M mlir/include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.td
    M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
    M mlir/lib/Dialect/Linalg/Transforms/WinogradConv2D.cpp
    A mlir/test/Dialect/Linalg/transform-tile-and-winograd-rewrite.mlir

  Log Message:
  -----------
  [mlir][linalg] Implement TilingInterface for winograd operations

In order to support arbitrary size input data of conv2d, implement
TilingInterface for winograd operations. Before converting winograd
operations into nested loops with matrix multiply, tile the input of
conv2d into the supported size first.

Add a transform operation structured.decompose_winograd_op to decompose
winograd operations. Before applying the transform op, use tile_using_for
to tile the input data into supported size. The test case shows how to
tile and decompose winograd operations.


  Commit: 0c121bbef5f970a6ebc632c4d791ba535f2c29f7
      https://github.com/llvm/llvm-project/commit/0c121bbef5f970a6ebc632c4d791ba535f2c29f7
  Author: Hsiangkai Wang <hsiangkai.wang at arm.com>
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/test/Dialect/Linalg/transform-tile-and-winograd-rewrite.mlir

  Log Message:
  -----------
  Address ftynse's comments


  Commit: b4e5c7c97b770391c81839261d47956925e23daf
      https://github.com/llvm/llvm-project/commit/b4e5c7c97b770391c81839261d47956925e23daf
  Author: Hsiangkai Wang <hsiangkai.wang at arm.com>
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp

  Log Message:
  -----------
  Address more comments


  Commit: e972232669e6de1638a86b62808cff7290ff3e70
      https://github.com/llvm/llvm-project/commit/e972232669e6de1638a86b62808cff7290ff3e70
  Author: Hsiangkai Wang <hsiangkai.wang at arm.com>
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h

  Log Message:
  -----------
  Update comments


  Commit: 73696eec36aa8cebc80cf093b995a7fb34064951
      https://github.com/llvm/llvm-project/commit/73696eec36aa8cebc80cf093b995a7fb34064951
  Author: Hsiangkai Wang <hsiangkai.wang at arm.com>
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/lib/Dialect/Linalg/Transforms/WinogradConv2D.cpp
    M mlir/test/Dialect/Linalg/transform-tile-and-winograd-rewrite.mlir
    A mlir/test/Dialect/Linalg/transform-tile-winograd.mlir

  Log Message:
  -----------
  address Max191's comments


Compare: https://github.com/llvm/llvm-project/compare/508eea4c51d9...73696eec36aa

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list