[all-commits] [llvm/llvm-project] 889cee: [mlir][sparse] Fix memory leaks (part 3)

Matthias Springer via All-commits all-commits at lists.llvm.org
Wed Mar 13 23:07:59 PDT 2024


  Branch: refs/heads/users/matthias-springer/sparse_leak_next
  Home:   https://github.com/llvm/llvm-project
  Commit: 889cee2838737faf6e037b2d4ca3b785bb1be755
      https://github.com/llvm/llvm-project/commit/889cee2838737faf6e037b2d4ca3b785bb1be755
  Author: Matthias Springer <springerm at google.com>
  Date:   2024-03-14 (Thu, 14 Mar 2024)

  Changed paths:
    M mlir/test/Integration/Dialect/SparseTensor/CPU/dual_sparse_conv_2d.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_2d.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion_sparse2dense.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion_sparse2sparse.mlir

  Log Message:
  -----------
  [mlir][sparse] Fix memory leaks (part 3)

This commit fixes memory leaks in sparse tensor integration tests by adding `bufferization.dealloc_tensor` ops.

Note: Buffer deallocation will be automated in the future with the ownership-based buffer deallocation pass, making `dealloc_tensor` obsolete (only codegen path, not when using the runtime library).



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list