Skip to content

Commit

Permalink
[mlir][Linalg] Refactor in preparation for automatic Linalg "named" ops.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Nicolas Vasilache committed Feb 12, 2020
1 parent 654086c commit bfaf535
Show file tree
Hide file tree
Showing 4 changed files with 246 additions and 99 deletions.
1 change: 1 addition & 0 deletions mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include "mlir/Dialect/Linalg/IR/LinalgTraits.h"
#include "mlir/Dialect/Linalg/IR/LinalgTypes.h"
#include "mlir/Dialect/Utils/StructuredOpsUtils.h"
#include "mlir/IR/AffineExpr.h"
#include "mlir/IR/AffineMap.h"
#include "mlir/IR/BlockAndValueMapping.h"
#include "mlir/IR/Builders.h"
Expand Down
Loading

0 comments on commit bfaf535

Please sign in to comment.