[libcxx-commits] [PATCH] D59791: [pstl] Add a serial backend for the PSTL

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Mar 25 12:20:00 PDT 2019

ldionne added a comment.

This is a WIP patch for adding a serial backend. This is a work in progress because I strongly suspect I'm not implementing the backend correctly, and I'm looking for guidance on how to do it correctly. One of the difficulties in implementing this was the lack of documentation for the parameters of each function constituting the backend. For example, I have no idea what `__real_body` is in

  parallel_reduce(_ExecutionPolicy&&, _Index __first, _Index __last, const _Value& __identity, const _RealBody& __real_body, const _Reduction&)

so I tried guessing from the existing code. I feel it would be useful to document the backend API properly and I'm willing to do it, but I need help from @MikeDvorskiy and others to achieve that.

  rPSTL pstl



More information about the libcxx-commits mailing list