llvm-project/mlir/docs/Dialects
Stella Laurenzo 6c9541d4dd Implement simple type polymorphism for linalg named ops.
* It was decided that this was the end of the line for the existing custom tc parser/generator, and this is the first step to replacing it with a declarative format that maps well to mathy source languages.
* One such source language is implemented here: https://github.com/stellaraccident/mlir-linalgpy/blob/main/samples/mm.py
  * In fact, this is the exact source of the declarative `polymorphic_matmul` in this change.
  * I am working separately to clean this python implementation up and add it to MLIR (probably as `mlir.tools.linalg_opgen` or equiv). The scope of the python side is greater than just generating named ops: the ops are callable and directly emit `linalg.generic` ops fully dynamically, and this is intended to be a feature for frontends like npcomp to define custom linear algebra ops at runtime.
* There is more work required to handle full type polymorphism, especially with respect to integer formulations, since they require more specificity wrt types.
* Followups to this change will bring the new generator to feature parity with the current one and delete the current. Roughly, this involves adding support for interface declarations and attribute symbol bindings.

Differential Revision: https://reviews.llvm.org/D97135
2021-02-21 14:30:31 -08:00
..
Affine.md [mlir] Fix MathJax rendering in Affine doc 2021-01-06 02:11:36 +00:00
GPU.md [mlir] Update all dialects docs to use 'dialect-namespace' in the header 2020-03-30 12:25:15 -07:00
LLVM.md [mlir] Clarify docs around LLVM dialect-compatible types 2021-01-19 13:42:16 +01:00
Linalg.md Implement simple type polymorphism for linalg named ops. 2021-02-21 14:30:31 -08:00
SPIR-V.md [mlir][spirv] Add support for sampled image type 2021-02-09 14:14:07 -05:00
Standard.md [mlir] Mention mandatory RFC process for changes in Standard dialect 2020-08-14 11:31:12 +02:00
TOSA.md [mlir] NFC: fix trivial typos 2021-01-07 02:36:02 +09:00
Vector.md [Branch-Rename] Fix some links 2021-02-01 16:43:21 +05:30
_index.md Add brief description of dialects doc section. 2020-12-17 18:37:34 +00:00