[libcxx-commits] [PATCH] D70529: OpenMP parallel back-end, WIP (Work in progress), just for discussion

Mikhail Dvorskiy via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Nov 21 02:10:24 PST 2019


MikeDvorskiy created this revision.
MikeDvorskiy added reviewers: rodgert, ldionne.
MikeDvorskiy created this object with visibility "All Users".
Herald added subscribers: libcxx-commits, dexonsmith, guansong.
Herald added a reviewer: jdoerfert.

OpenMP parallel back-end, prototype, just for discussion.

We have designed implementation of the  all patterns of PSTL backend API and prototyped the first implementation for __parallel_for, __parallel_reduce.

“__parallel_for”   is based on OpenMP “task_loop”.  (not parallel for to avoid oversubscription problem in case of nested parallelism)
“__parallel_reduce” is based on OpenMP “task_loop” with “reduction”  clause.

We would be very appreciate you (and the community in general) to get some feedback for that.


Repository:
  rPSTL pstl

https://reviews.llvm.org/D70529

Files:
  include/pstl/internal/parallel_backend.h
  include/pstl/internal/parallel_backend_omp.h
  include/pstl/internal/parallel_backend_serial.h
  include/pstl/internal/unseq_backend_simd.h
  include/pstl/internal/utils.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70529.230403.patch
Type: text/x-patch
Size: 21458 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20191121/294335a0/attachment-0001.bin>


More information about the libcxx-commits mailing list