forked from OSchip/llvm-project
[mlir][sparse] Correcting a few typos
Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D110773
This commit is contained in:
parent
76902079e4
commit
218954865e
|
@ -1,4 +1,4 @@
|
|||
//===- SparseTensorLowering.cpp - Sparse tensor primitives conversion -----===//
|
||||
//===- SparseTensorConversion.cpp - Sparse tensor primitives conversion ---===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
// See https://llvm.org/LICENSE.txt for license information.
|
||||
|
@ -363,7 +363,7 @@ class SparseTensorConvertConverter : public OpConversionPattern<ConvertOp> {
|
|||
auto encSrc = getSparseTensorEncoding(op.source().getType());
|
||||
if (encDst && encSrc) {
|
||||
// This is a sparse => sparse conversion, which is handled as follows:
|
||||
// t = src->asCOO(); ; src to COO in dst order
|
||||
// t = src->toCOO(); ; src to COO in dst order
|
||||
// dst = newSparseTensor(t)
|
||||
// Using the coordinate scheme as an intermediate does not always
|
||||
// yield the fastest conversion but avoids the need for a full
|
||||
|
|
|
@ -674,7 +674,6 @@ IMPL3(addEltI32, int32_t)
|
|||
IMPL3(addEltI16, int16_t)
|
||||
IMPL3(addEltI8, int8_t)
|
||||
|
||||
#undef TEMPLATE
|
||||
#undef CASE
|
||||
#undef IMPL1
|
||||
#undef IMPL2
|
||||
|
|
Loading…
Reference in New Issue