[all-commits] [llvm/llvm-project] e484c1: [pstl] A cleanup fix for sort parallel algorithm.

MikeDvorskiy via All-commits all-commits at lists.llvm.org
Thu Mar 5 00:34:06 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e484c1759d410ab6229d17251fcd157b76ff840e
      https://github.com/llvm/llvm-project/commit/e484c1759d410ab6229d17251fcd157b76ff840e
  Author: Dvorskiy, Mikhail <mikhail.dvorskiy at intel.com>
  Date:   2020-03-05 (Thu, 05 Mar 2020)

  Changed paths:
    M pstl/include/pstl/internal/parallel_backend_tbb.h

  Log Message:
  -----------
  [pstl] A cleanup fix for sort parallel algorithm.

When one of sub-ranges has not been move constructed into a raw buffer, we should not call clean up for that sub-range. Instead of store detailed info about raw buffer history, the fix does the cleanup a sub-range after each moving the sub-range back.

https://reviews.llvm.org/D73779




More information about the All-commits mailing list