<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/mlir/lib/CAPI/Dialect/SparseTensor.cpp, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[MLIR][sparse] Add `soa` property to `sparse_tensor` Python bindings (#109135)</title>
<updated>2024-10-02T16:07:55+00:00</updated>
<author>
<name>Mateusz Sokół</name>
<email>8431159+mtsokol@users.noreply.github.com</email>
</author>
<published>2024-10-02T16:07:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b50ce4c81e71855bc01b9564d3bd239437847184'/>
<id>b50ce4c81e71855bc01b9564d3bd239437847184</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir] Apply ClangTidy performance finding.</title>
<updated>2024-07-30T11:19:26+00:00</updated>
<author>
<name>Adrian Kuegel</name>
<email>akuegel@google.com</email>
</author>
<published>2024-07-30T11:19:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=36c57532f528e2d6420c0d205841af8b76c70d6a'/>
<id>36c57532f528e2d6420c0d205841af8b76c70d6a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir][sparse] Enable explicit and implicit value in sparse encoding (#88975)</title>
<updated>2024-04-24T23:20:25+00:00</updated>
<author>
<name>Yinying Li</name>
<email>yinyingli@google.com</email>
</author>
<published>2024-04-24T23:20:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a10d67f9fb559d0c35a12b2d26974636bbf642c0'/>
<id>a10d67f9fb559d0c35a12b2d26974636bbf642c0</id>
<content type='text'>
1. Explicit value means the non-zero value in a sparse tensor. If
explicitVal is set, then all the non-zero values in the tensor have the
same explicit value. The default value Attribute() indicates that it is
not set.

2. Implicit value means the "zero" value in a sparse tensor. If
implicitVal is set, then the "zero" value in the tensor is equal to the
implicit value. For now, we only support `0` as the implicit value but
it could be extended in the future. The default value Attribute()
indicates that the implicit value is `0` (same type as the tensor
element type).

Example:

```
#CSR = #sparse_tensor.encoding&lt;{
  map = (d0, d1) -&gt; (d0 : dense, d1 : compressed),
  posWidth = 64,
  crdWidth = 64,
  explicitVal = 1 : i64,
  implicitVal = 0 : i64
}&gt;
```

Note: this PR tests that implicitVal could be set to other values as
well. The following PR will add verifier and reject any value that's not
zero for implicitVal.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1. Explicit value means the non-zero value in a sparse tensor. If
explicitVal is set, then all the non-zero values in the tensor have the
same explicit value. The default value Attribute() indicates that it is
not set.

2. Implicit value means the "zero" value in a sparse tensor. If
implicitVal is set, then the "zero" value in the tensor is equal to the
implicit value. For now, we only support `0` as the implicit value but
it could be extended in the future. The default value Attribute()
indicates that the implicit value is `0` (same type as the tensor
element type).

Example:

```
#CSR = #sparse_tensor.encoding&lt;{
  map = (d0, d1) -&gt; (d0 : dense, d1 : compressed),
  posWidth = 64,
  crdWidth = 64,
  explicitVal = 1 : i64,
  implicitVal = 0 : i64
}&gt;
```

Note: this PR tests that implicitVal could be set to other values as
well. The following PR will add verifier and reject any value that's not
zero for implicitVal.</pre>
</div>
</content>
</entry>
<entry>
<title>Reapply "[mlir][sparse] remove LevelType enum, construct LevelType from LevelFormat and Properties" (#81923) (#81934)</title>
<updated>2024-02-15T22:48:52+00:00</updated>
<author>
<name>Peiming Liu</name>
<email>36770114+PeimingLiu@users.noreply.github.com</email>
</author>
<published>2024-02-15T22:48:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=aaf916456aeb2d748e74ddbcd394de153e19b112'/>
<id>aaf916456aeb2d748e74ddbcd394de153e19b112</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[mlir][sparse] remove LevelType enum, construct LevelType from LevelF…" (#81923)</title>
<updated>2024-02-15T21:26:44+00:00</updated>
<author>
<name>Mehdi Amini</name>
<email>joker.eph@gmail.com</email>
</author>
<published>2024-02-15T21:26:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=513448d28e57535d71ea7eeda209db98ad3a1ee1'/>
<id>513448d28e57535d71ea7eeda209db98ad3a1ee1</id>
<content type='text'>
Reverts llvm/llvm-project#81799 ; this broke the mlir gcc7 bot.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reverts llvm/llvm-project#81799 ; this broke the mlir gcc7 bot.</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir][sparse] remove LevelType enum, construct LevelType from LevelF… (#81799)</title>
<updated>2024-02-15T20:31:03+00:00</updated>
<author>
<name>Peiming Liu</name>
<email>36770114+PeimingLiu@users.noreply.github.com</email>
</author>
<published>2024-02-15T20:31:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=235ec0f791749d94ac1ca1441b8b06d4ba09792c'/>
<id>235ec0f791749d94ac1ca1441b8b06d4ba09792c</id>
<content type='text'>
…ormat and properties instead.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
…ormat and properties instead.</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir][sparse][pybind][CAPI] remove LevelType enum from CAPI, constru… (#81682)</title>
<updated>2024-02-14T00:45:22+00:00</updated>
<author>
<name>Peiming Liu</name>
<email>36770114+PeimingLiu@users.noreply.github.com</email>
</author>
<published>2024-02-14T00:45:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=429919e32823ad735a19ab385f37e313512cedde'/>
<id>429919e32823ad735a19ab385f37e313512cedde</id>
<content type='text'>
…ct LevelType from LevelFormat and properties instead.

**Rationale**
We used to explicitly declare every possible combination between
`LevelFormat` and `LevelProperties`, and it now becomes difficult to
scale as more properties/level formats are going to be introduced.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
…ct LevelType from LevelFormat and properties instead.

**Rationale**
We used to explicitly declare every possible combination between
`LevelFormat` and `LevelProperties`, and it now becomes difficult to
scale as more properties/level formats are going to be introduced.</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir][sparse] Add more tests and verification for n:m (#81186)</title>
<updated>2024-02-09T19:34:36+00:00</updated>
<author>
<name>Yinying Li</name>
<email>107574043+yinying-lisa-li@users.noreply.github.com</email>
</author>
<published>2024-02-09T19:34:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2a6b521b36fb538a49564323ecd457d7b08b1325'/>
<id>2a6b521b36fb538a49564323ecd457d7b08b1325</id>
<content type='text'>
1. Add python test for n out of m
2. Add more methods for python binding
3. Add verification for n:m and invalid encoding tests
4. Add e2e test for n:m

Previous PRs for n:m #80501 #79935</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1. Add python test for n out of m
2. Add more methods for python binding
3. Add verification for n:m and invalid encoding tests
4. Add e2e test for n:m

Previous PRs for n:m #80501 #79935</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir][sparse] Implement parsing n out of m (#79935)</title>
<updated>2024-02-08T19:38:42+00:00</updated>
<author>
<name>Yinying Li</name>
<email>107574043+yinying-lisa-li@users.noreply.github.com</email>
</author>
<published>2024-02-08T19:38:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e5924d64991abb4da111317ff5e8d9147265354a'/>
<id>e5924d64991abb4da111317ff5e8d9147265354a</id>
<content type='text'>
1. Add parsing methods for block[n, m].
2. Encode n and m with the newly extended 64-bit LevelType enum.
3. Update 2:4 methods names/comments to n:m.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1. Add parsing methods for block[n, m].
2. Encode n and m with the newly extended 64-bit LevelType enum.
3. Update 2:4 methods names/comments to n:m.</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir][sparse] rename DimLevelType to LevelType (#73561)</title>
<updated>2023-11-27T22:27:52+00:00</updated>
<author>
<name>Aart Bik</name>
<email>39774503+aartbik@users.noreply.github.com</email>
</author>
<published>2023-11-27T22:27:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=1944c4f76b47c0b86c91845987baca24fd4775f8'/>
<id>1944c4f76b47c0b86c91845987baca24fd4775f8</id>
<content type='text'>
The "Dim" prefix is a legacy left-over that no longer makes sense, since
we have a very strict "Dimension" vs. "Level" definition for sparse
tensor types and their storage.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The "Dim" prefix is a legacy left-over that no longer makes sense, since
we have a very strict "Dimension" vs. "Level" definition for sparse
tensor types and their storage.</pre>
</div>
</content>
</entry>
</feed>
