aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/ErrorTest.cpp
diff options
context:
space:
mode:
authorAart Bik <ajcbik@google.com>2022-04-05 16:56:07 -0700
committerAart Bik <ajcbik@google.com>2022-04-05 17:40:01 -0700
commit175b9af484f483c3423ab2f78db5de7e25b64c31 (patch)
tree3312c9ecbd9eec5a6368edadd7b75dd139019aad /llvm/unittests/Support/ErrorTest.cpp
parent9a62d9db2e1f6064e6c20344870f5e9d43a8de43 (diff)
downloadllvm-175b9af484f483c3423ab2f78db5de7e25b64c31.zip
llvm-175b9af484f483c3423ab2f78db5de7e25b64c31.tar.gz
llvm-175b9af484f483c3423ab2f78db5de7e25b64c31.tar.bz2
[mlir][sparse] avoid reserving dense storage for ptr/idx
This avoids a rather big bug where we were reserving dense space for the ptx/idx in the first sparse dimension. For example, using CSR for a 140874 x 140874 matrix with 3977139 nonzero would reserve the full 19845483876 space. This revision fixes this for now, but we need to revisit the reservation heuristic to make this better. Reviewed By: bixia Differential Revision: https://reviews.llvm.org/D123166
Diffstat (limited to 'llvm/unittests/Support/ErrorTest.cpp')
0 files changed, 0 insertions, 0 deletions