diff options
author | Aart Bik <ajcbik@google.com> | 2023-02-03 17:26:04 -0800 |
---|---|---|
committer | Aart Bik <ajcbik@google.com> | 2023-02-06 14:08:53 -0800 |
commit | 3bd82f30dcc25533de1ff900a704efa77a6951da (patch) | |
tree | 1ff2121be35e654e28b15e0c8118858818d8b4d4 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h | |
parent | 1b80ccba0f9bb86eabeeb0c32876eae2088eafb8 (diff) | |
download | llvm-3bd82f30dcc25533de1ff900a704efa77a6951da.zip llvm-3bd82f30dcc25533de1ff900a704efa77a6951da.tar.gz llvm-3bd82f30dcc25533de1ff900a704efa77a6951da.tar.bz2 |
[mlir][sparse] compute allocation size_hint
This adds the hint to a number of tensor allocations in codegens,
shaving off quite some time from e.g. reading in sparse matrices
due to zero-reallocation scheme. Note that we can probably provide
hints on all allocations, and refine the heuristics that use them
for general tensors.
Reviewed By: bixia
Differential Revision: https://reviews.llvm.org/D143309
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions