Skip to content

Commit c6a46b8

Browse files
authored
Renamed versatile into universal for sparse tensor types (#850)
1 parent 6325970 commit c6a46b8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

include/matx/core/make_sparse_tensor.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ namespace matx {
3838
namespace experimental {
3939

4040
//
41-
// MatX uses a single versatile sparse tensor type that uses a tensor format
41+
// MatX implements a universal sparse tensor type that uses a tensor format
4242
// DSL (Domain Specific Language) to describe a vast space of storage formats.
4343
// This file provides a number of convenience factory methods that construct
4444
// sparse tensors in well-known storage formats, like COO, CSR, and CSC,

include/matx/core/sparse_tensor_format.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ namespace matx {
3838
namespace experimental {
3939

4040
//
41-
// MatX uses a single versatile sparse tensor type that uses a tensor format
41+
// MatX implements a universal sparse tensor type that uses a tensor format
4242
// DSL (Domain Specific Language) to describe a vast space of storage formats.
4343
// Although the tensor format can easily define many common storage formats
4444
// (such as Dense, CSR, CSC, BSR), it can also define many less common storage
@@ -108,7 +108,7 @@ namespace experimental {
108108
// j : compressed,
109109
// k : compressed )
110110
//
111-
// The idea of a single versatile sparse tensor type has its roots in
111+
// The idea of a universal sparse tensor type has its roots in
112112
// sparse compilers, first pioneered for sparse linear algebra in [Bik96]
113113
// and formalized to sparse tensor algebra in [Kjolstad20]. The generalization
114114
// to higher-dimensional levels was introduced in [MLIR22].
@@ -303,8 +303,8 @@ template <int D, typename... LvlSpecs> class SparseTensorFormat {
303303
};
304304

305305
//
306-
// Predefined common tensor formats. Note that even though the tensor format
307-
// was introduced to define a single versatile sparse tensor type, the
306+
// Predefined common tensor formats. Note that even though the tensor
307+
// format was introduced to define the universal sparse tensor type, the
308308
// "all-dense" format also naturally describes dense scalars, vectors,
309309
// matrices, and tensors, with all d-major format variants.
310310
//

0 commit comments

Comments
 (0)