diff options
author | Bixia Zheng <bixia@google.com> | 2022-02-11 15:05:06 -0800 |
---|---|---|
committer | Bixia Zheng <bixia@google.com> | 2022-02-14 15:35:01 -0800 |
commit | ad932a75f9ae58afbf5d43521d18c9a5a12876ff (patch) | |
tree | 6fb87e8e0a4b9021d05167dd1af4fd7b686f0346 /lldb/source/Commands/CommandObjectCommands.cpp | |
parent | 882d5f14adabdf642510cfe8e4a002833f585dda (diff) | |
download | llvm-ad932a75f9ae58afbf5d43521d18c9a5a12876ff.zip llvm-ad932a75f9ae58afbf5d43521d18c9a5a12876ff.tar.gz llvm-ad932a75f9ae58afbf5d43521d18c9a5a12876ff.tar.bz2 |
[mlir][sparse][taco] Support true dense tensors and all dense sparse tensors.
The only method to create a true dense tensor (i.e un-annotated) in MLIR-PyTACO
is through the from_array method. However, the annotated all dense tensors are
also implemented as true dense tensor currently. The PR fixes the
implementation to support annotated all dense sparse tensors.
Extend the tensor init method to support the construction of a tensor without
any sparsity annotation.
Change the tensor to_file method to only support writing unpacked sparse
tensors to file through the MLIR sparse tensor dialect.
Add unit tests for true dense tensors and all dense sparse tensors.
Reviewed By: aartbik
Differential Revision: https://reviews.llvm.org/D119500
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
0 files changed, 0 insertions, 0 deletions