diff options
author | Aart Bik <ajcbik@google.com> | 2021-02-09 16:22:22 -0800 |
---|---|---|
committer | Aart Bik <ajcbik@google.com> | 2021-02-10 11:57:24 -0800 |
commit | 0b1764a3d79a33e155e19c6a698992ed1949ca33 (patch) | |
tree | dc26156a40cc6349f6898e7855d7ba2db85d7013 /llvm/lib/CodeGen/StackProtector.cpp | |
parent | 17db24a7a8f23eb5adb24f36b9d51bb7cc5ae564 (diff) | |
download | llvm-0b1764a3d79a33e155e19c6a698992ed1949ca33.zip llvm-0b1764a3d79a33e155e19c6a698992ed1949ca33.tar.gz llvm-0b1764a3d79a33e155e19c6a698992ed1949ca33.tar.bz2 |
[mlir][sparse] sparse tensor storage implementation
This revision connects the generated sparse code with an actual
sparse storage scheme, which can be initialized from a test file.
Lacking a first-class citizen SparseTensor type (with buffer),
the storage is hidden behind an opaque pointer with some "glue"
to bring the pointer back to tensor land. Rather than generating
sparse setup code for each different annotated tensor (viz. the
"pack" methods in TACO), a single "one-size-fits-all" implementation
has been added to the runtime support library. Many details and
abstractions need to be refined in the future, but this revision
allows full end-to-end integration testing and performance
benchmarking (with on one end, an annotated Lingalg
op and, on the other end, a JIT/AOT executable).
Reviewed By: nicolasvasilache, bixia
Differential Revision: https://reviews.llvm.org/D95847
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions