Skip to content

Commit

Permalink
Add tensor external model registration to Interfaces
Browse files Browse the repository at this point in the history
This allows upstram tiling of tensor ops to be available to IREE's transforms
  • Loading branch information
nicolasvasilache committed Apr 12, 2023
1 parent 9466b5e commit 0b17da6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compiler/src/iree/compiler/Codegen/Interfaces/Interfaces.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include "mlir/Dialect/Linalg/Transforms/TilingInterfaceImpl.h"
#include "mlir/Dialect/MemRef/TransformOps/MemRefTransformOps.h"
#include "mlir/Dialect/SCF/TransformOps/SCFTransformOps.h"
#include "mlir/Dialect/Tensor/IR/TensorTilingInterfaceImpl.h"
#include "mlir/Dialect/Vector/TransformOps/VectorTransformOps.h"

namespace mlir {
Expand All @@ -43,6 +44,7 @@ void registerCodegenInterfaces(DialectRegistry &registry) {
registerTransformDialectLLVMCPUExtension(registry);
registerTransformDialectLLVMGPUExtension(registry);
linalg::registerTilingInterfaceExternalModels(registry);
tensor::registerTilingInterfaceExternalModels(registry);
affine::registerTransformDialectExtension(registry);
bufferization::registerTransformDialectExtension(registry);
gpu::registerTransformDialectExtension(registry);
Expand Down

0 comments on commit 0b17da6

Please sign in to comment.