diff options
author | Aart Bik <ajcbik@google.com> | 2024-04-11 10:07:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-11 10:07:24 -0700 |
commit | 5122a2c2320c7b14f6585e63b7fc43ac82a550c2 (patch) | |
tree | abb05d2b6a770df6810f1de15eaee1b4bcb20f62 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 64c3997939cf2d9b4fd1c24c89724d0b47afcd03 (diff) | |
download | llvm-5122a2c2320c7b14f6585e63b7fc43ac82a550c2.zip llvm-5122a2c2320c7b14f6585e63b7fc43ac82a550c2.tar.gz llvm-5122a2c2320c7b14f6585e63b7fc43ac82a550c2.tar.bz2 |
[mlir][sparse] allow for direct-out passing of sparse tensor buffers (#88327)
In order to support various external frameworks (JAX vs PyTorch) we need
a bit more flexibility in [dis]assembling external buffers to and from
sparse tensors in MLIR land. This PR adds a direct-out option that
avoids the rigid pre-allocated for copy-out semantics.
Note that over time, we expect the [dis]assemble operations to converge
into something that supports all sorts of external frameworks. Until
then, this option helps in experimenting with different options.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions