diff options
author | Aart Bik <ajcbik@google.com> | 2021-12-13 12:51:34 -0800 |
---|---|---|
committer | Aart Bik <ajcbik@google.com> | 2021-12-14 08:33:06 -0800 |
commit | ef244ad6207b1f20ecc6f989720bbc46f5e6a3f2 (patch) | |
tree | 0124b2c0e824fffad110a5e496b9cd624e473c19 | |
parent | 03fe15cee6e2aa1444f955c86aadfed529353831 (diff) | |
download | llvm-ef244ad6207b1f20ecc6f989720bbc46f5e6a3f2.tar.gz |
[mlir][sparse] fixed typos
Reviewed By: bixia
Differential Revision: https://reviews.llvm.org/D115667
-rw-r--r-- | mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorBase.td | 2 | ||||
-rw-r--r-- | mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorBase.td b/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorBase.td index 13a89b2f9163..4aa2b89128c5 100644 --- a/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorBase.td +++ b/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorBase.td @@ -50,7 +50,7 @@ def SparseTensor_Dialect : Dialect { relatively straightforward one-to-one mapping from iteration lattices to combinations of for-loops, while-loops, and if-statements. Sparse tensor outputs that materialize uninitialized are handled with - insertions in pure lexicograph index order if all parallel loops + insertions in pure lexicographical index order if all parallel loops are outermost or using a 1-dimensional access pattern expansion (a.k.a. workspace) where feasible [Gustavson72,Bik96,Kjolstad19]. diff --git a/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td b/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td index 9c27ae9d41ab..292fc072e1af 100644 --- a/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td +++ b/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td @@ -197,12 +197,12 @@ def SparseTensor_LexInsertOp : SparseTensor_Op<"lex_insert", []>, Arguments<(ins AnyTensor:$tensor, StridedMemRefRankOf<[Index], [1]>:$indices, AnyType:$value)> { - string summary = "Inserts a value into given sparse tensor in lexicograph index order"; + string summary = "Inserts a value into given sparse tensor in lexicographical index order"; string description = [{ Inserts the given value at given indices into the underlying sparse storage format of the given tensor with the given indices. This operation can only be applied when a tensor materializes unintialized - with an `init` operation, the insertions occur in strict lexicographic + with an `init` operation, the insertions occur in strict lexicographical index order, and the final tensor is constructed with a `tensor` operation that has the `hasInserts` attribute set. |