[pstl] Add a serial backend for the PSTL
authorLouis Dionne <ldionne@apple.com>
Thu, 18 Apr 2019 18:20:19 +0000 (18:20 +0000)
committerLouis Dionne <ldionne@apple.com>
Thu, 18 Apr 2019 18:20:19 +0000 (18:20 +0000)
commitdcf4b9aee06a0fe8aed9b2b86a24761cb23e2c10
treeb01ca94de27943688121c9d6585b45b4c9d53490
parenta5dd08cac2991bbfcb304c8d4fc485381ff5f751
[pstl] Add a serial backend for the PSTL

Summary:
The serial backend performs all tasks serially and does not require
threads. It does not have any dependencies beyond normal C++, but
it is not very efficient either.

Reviewers: rodgert, MikeDvorskiy

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

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

llvm-svn: 358700
pstl/CMakeLists.txt
pstl/include/pstl/internal/parallel_backend.h
pstl/include/pstl/internal/parallel_backend_serial.h [new file with mode: 0644]
pstl/include/pstl/internal/pstl_config.h