Skip to content

Commit

Permalink
[mlir][linalg] Update docs for linalg.generic(NFC) (#127178)
Browse files Browse the repository at this point in the history
The mixed tensor/buffer semantics has been disallowed in #80660. Closes
#124090.
  • Loading branch information
CoTinker authored Feb 17, 2025
1 parent a7a0208 commit ecb7f5a
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
Original file line number Diff line number Diff line change
Expand Up @@ -138,19 +138,6 @@ def GenericOp : LinalgStructuredBase_Op<"generic", [
}
}
```

To allow progressive lowering from the value world (a.k.a tensor values) to
the buffer world (a.k.a memref values), a `linalg.generic` op allows mixing
tensors and buffers operands and tensor results.

```mlir
%C = linalg.generic #trait_attribute
ins(%A, %B : tensor<?x?xf32>, memref<?x?xf32, stride_specification>)
outs(%C : tensor<?x?xf32>)
{other-optional-attributes}
{region}
-> (tensor<?x?xf32>)
```
}];

let arguments = (ins Variadic<AnyType>:$inputs,
Expand Down

0 comments on commit ecb7f5a

Please sign in to comment.