[all-commits] [llvm/llvm-project] 7de439: [mlir][tosa] Migrate tosa to more efficient linalg...

rsuderman via All-commits all-commits at lists.llvm.org
Wed Aug 11 11:09:24 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7de439b2be4a046da541b625812f2fe34c54c4b9
      https://github.com/llvm/llvm-project/commit/7de439b2be4a046da541b625812f2fe34c54c4b9
  Author: Rob Suderman <rob.suderman at gmail.com>
  Date:   2021-08-11 (Wed, 11 Aug 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yaml
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
    M mlir/python/mlir/dialects/linalg/opdsl/ops/core_named_ops.py
    M mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir
    M mlir/test/Dialect/Linalg/named-ops.mlir

  Log Message:
  -----------
  [mlir][tosa] Migrate tosa to more efficient linalg.conv

Existing linalg.conv2d is not well optimized for performance. Changed to a
version that is more aligned for optimziation. Include the corresponding
transposes to use this optimized version.

This also splits the conv and depthwise conv into separate implementations
to avoid overly complex lowerings.

Reviewed By: antiagainst

Differential Revision: https://reviews.llvm.org/D107504




More information about the All-commits mailing list