forked from OSchip/llvm-project
[mlir][sparse] fix typos
Perhaps one of these days I will actually learn how to spell opaque.... Reviewed By: bixia Differential Revision: https://reviews.llvm.org/D109391
This commit is contained in:
parent
2bf8be79b1
commit
d02e12fadf
|
@ -60,7 +60,7 @@
|
||||||
// to interact with MLIR compiler-generated code.
|
// to interact with MLIR compiler-generated code.
|
||||||
//
|
//
|
||||||
// In both cases (I) and (II), the SparseTensorStorage format is externally
|
// In both cases (I) and (II), the SparseTensorStorage format is externally
|
||||||
// only visible as an opague pointer.
|
// only visible as an opaque pointer.
|
||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
|
@ -739,7 +739,7 @@ void *convertToMLIRSparseTensor(uint64_t rank, uint64_t nse, uint64_t *shape,
|
||||||
tensor->add(idx, values[i]);
|
tensor->add(idx, values[i]);
|
||||||
base += rank;
|
base += rank;
|
||||||
}
|
}
|
||||||
// Return sparse tensor storage format as opague pointer.
|
// Return sparse tensor storage format as opaque pointer.
|
||||||
return SparseTensorStorage<uint64_t, uint64_t, double>::newSparseTensor(
|
return SparseTensorStorage<uint64_t, uint64_t, double>::newSparseTensor(
|
||||||
tensor, sparse.data(), perm.data());
|
tensor, sparse.data(), perm.data());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue