[all-commits] [llvm/llvm-project] 0b5f1b: [mlir][linalg] Add linalg_opdsl tool first draft.

Stella Laurenzo via All-commits all-commits at lists.llvm.org
Fri Mar 5 11:48:32 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b5f1b859f06321f818104caf10468c40398b4ff
      https://github.com/llvm/llvm-project/commit/0b5f1b859f06321f818104caf10468c40398b4ff
  Author: Stella Laurenzo <stellaraccident at gmail.com>
  Date:   2021-03-05 (Fri, 05 Mar 2021)

  Changed paths:
    A mlir/docs/Tools/LinalgOpDsl.md
    A mlir/lib/Bindings/Python/mlir/tools/__init__.py
    A mlir/lib/Bindings/Python/mlir/tools/linalg_opdsl/__init__.py
    A mlir/lib/Bindings/Python/mlir/tools/linalg_opdsl/dump_oplib.py
    A mlir/lib/Bindings/Python/mlir/tools/linalg_opdsl/lang/__init__.py
    A mlir/lib/Bindings/Python/mlir/tools/linalg_opdsl/lang/affine.py
    A mlir/lib/Bindings/Python/mlir/tools/linalg_opdsl/lang/comprehension.py
    A mlir/lib/Bindings/Python/mlir/tools/linalg_opdsl/lang/config.py
    A mlir/lib/Bindings/Python/mlir/tools/linalg_opdsl/lang/dsl.py
    A mlir/lib/Bindings/Python/mlir/tools/linalg_opdsl/lang/scalar_expr.py
    A mlir/lib/Bindings/Python/mlir/tools/linalg_opdsl/lang/types.py
    A mlir/lib/Bindings/Python/mlir/tools/linalg_opdsl/lang/yaml_helper.py
    A mlir/lib/Bindings/Python/mlir/tools/linalg_opdsl/ops/__init__.py
    A mlir/lib/Bindings/Python/mlir/tools/linalg_opdsl/ops/core_named_ops.py
    A mlir/test/Bindings/Python/tools/linalg_opdsl/assignments.py
    A mlir/test/Bindings/Python/tools/linalg_opdsl/doctests.py
    A mlir/test/Bindings/Python/tools/linalg_opdsl/interfaces.py
    A mlir/test/Bindings/Python/tools/linalg_opdsl/lit.local.cfg
    A mlir/test/Bindings/Python/tools/linalg_opdsl/shape_maps_iteration.py
    A mlir/test/Bindings/Python/tools/linalg_opdsl/test_core_named_ops.py

  Log Message:
  -----------
  [mlir][linalg] Add linalg_opdsl tool first draft.

* Mostly imported from experimental repo as-is with cosmetic changes.
* Temporarily left out emission code (for building ops at runtime) to keep review size down.
* Documentation and lit tests added fresh.
* Sample op library that represents current Linalg named ops included.

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




More information about the All-commits mailing list