[pstl] Make the default backend be the serial backend and always provide parallel...
authorLouis Dionne <ldionne@apple.com>
Wed, 24 Apr 2019 20:12:36 +0000 (20:12 +0000)
committerLouis Dionne <ldionne@apple.com>
Wed, 24 Apr 2019 20:12:36 +0000 (20:12 +0000)
commit65a422c81c99a616f4b2eb502108907460265f51
tree6324ed12b07df3379b0a7e25f75ca41b54098dcb
parent0ddd12e1565c8c55cc56f16f0de09193ef96c464
[pstl] Make the default backend be the serial backend and always provide parallel policies

Summary:
Before this change, the default backend was TBB but one could disable
anything related to TBB by removing the parallel policies. This change
uses the serial backend by default and removes the ability to disable
parallel policies, which is not useful anymore.

Reviewers: rodgert, MikeDvorskiy

Subscribers: mgorny, jkorous, dexonsmith, jdoerfert, libcxx-commits

Differential Revision: https://reviews.llvm.org/D59792

llvm-svn: 359134
pstl/CMakeLists.txt
pstl/include/pstl/internal/algorithm_fwd.h
pstl/include/pstl/internal/algorithm_impl.h
pstl/include/pstl/internal/execution_defs.h
pstl/include/pstl/internal/execution_impl.h
pstl/include/pstl/internal/glue_execution_defs.h
pstl/include/pstl/internal/numeric_fwd.h
pstl/include/pstl/internal/numeric_impl.h
pstl/include/pstl/internal/pstl_config.h
pstl/test/support/pstl_test_config.h
pstl/test/support/utils.h