Transfer_ops can now work on both buffers and tensor. Right now, lowering of the tensor case is not supported yet.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/include/mlir/Dialect/Vector/VectorOps.td | ||
---|---|---|
1294 | What does it mean to write to a tensor?! Aren't tensors immutable values wholly? (i.e., you can't change its elements) | |
mlir/include/mlir/Interfaces/VectorInterfaces.td | ||
50 | Typo. | |
mlir/lib/Dialect/Vector/VectorTransforms.cpp | ||
2407–2408 | Nit: Assign to a variable to prevent a repeated call. |
mlir/include/mlir/Dialect/Vector/VectorOps.td | ||
---|---|---|
1294 | That's a bad copy paste, I updated the example. The operation returns a new tensor where the vector was inserted into the source tensor. |
mlir/include/mlir/Dialect/Vector/VectorOps.td | ||
---|---|---|
1294 | That makes sense! |
What does it mean to write to a tensor?! Aren't tensors immutable values wholly? (i.e., you can't change its elements)