llvm-project/mlir
Aart Bik 6b26857dbf [mlir][sparse] add asCOO() functionality to sparse tensor object
This prepares general sparse to sparse conversions. The code that
needs to be generated using this new feature is now simply:

(1) coo = sparse_tensor_1->asCOO();          // source format1
(2) sparse_tensor_2 = newSparseTensor(coo);  // destination format2

By using COO as an intermediate, we can do *all* conversions without
having to implement the full O(N^2) conversion matrix. Note that we
can always improve particular conversions individually if a faster
solution is required.

Reviewed By: bixia

Differential Revision: https://reviews.llvm.org/D108681
2021-08-25 21:50:39 -07:00
..
cmake/modules [MLIR] [Python] Fix out-of-tree Windows python bindings 2021-08-16 19:18:54 -07:00
docs [mlir][docs] A friendlier improvement for the Toy tutorial chapter 4. 2021-08-25 00:44:51 +00:00
examples [mlir] factor memref-to-llvm lowering out of std-to-llvm 2021-07-09 14:49:52 +02:00
include [mlir][linalg] Tune hasTensorSemantics/hasBufferSemantics methods. 2021-08-25 19:28:37 +00:00
lib [mlir][sparse] add asCOO() functionality to sparse tensor object 2021-08-25 21:50:39 -07:00
python [mlir] Add op for NCHW conv2d. 2021-08-22 17:27:33 -07:00
test [mlir][sparse] add sparse-dense cases to storage integration test 2021-08-25 11:33:20 -07:00
tools [mlir][AttrTypeGen] Add support for specifying a "accessor" type of a parameter 2021-08-25 09:27:36 +00:00
unittests [mlir][Analysis][NFC] FlatAffineConstraints: Use BoundType enum in functions 2021-08-19 10:33:42 +09:00
utils [vscode-mlir] Add proper support for mlir markdown codeblocks 2021-08-03 19:55:31 +00:00
.clang-format
.clang-tidy NFC: .clang-tidy: Inherit configs from parents to improve maintainability 2021-06-08 08:25:59 -07:00
CMakeLists.txt [MLIR] Drop old cmake var names 2021-05-24 15:30:01 +05:30
LICENSE.TXT
README.md

README.md

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.