Skip to content

Commit bfaf535

Browse files
author
Nicolas Vasilache
committed
[mlir][Linalg] Refactor in preparation for automatic Linalg "named" ops.
This revision prepares the ground for declaratively defining Linalg "named" ops. Such named ops form the backbone of operations that are ubiquitous in the ML application domain. This revision closely related to the definition of a "Tensor Computation Primitives Dialect" and demonstrates that ops can be expressed as declarative configurations of the `linalg.generic` op. Differential Revision: https://reviews.llvm.org/D74491
1 parent 654086c commit bfaf535

File tree

4 files changed

+246
-99
lines changed

4 files changed

+246
-99
lines changed

mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#include "mlir/Dialect/Linalg/IR/LinalgTraits.h"
1313
#include "mlir/Dialect/Linalg/IR/LinalgTypes.h"
1414
#include "mlir/Dialect/Utils/StructuredOpsUtils.h"
15+
#include "mlir/IR/AffineExpr.h"
1516
#include "mlir/IR/AffineMap.h"
1617
#include "mlir/IR/BlockAndValueMapping.h"
1718
#include "mlir/IR/Builders.h"

0 commit comments

Comments
 (0)