[libcxx-commits] [libcxx] [RFC] Offloading C++ standard parallel algorithms to GPUs using OpenMP (PR #66465)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Sep 19 08:18:09 PDT 2023


ldionne wrote:

In your current patch, you are reusing the CPU backend machinery. Originally, we designed the backend so that you could write your own GPU backend that would chunk work in a way that makes the most sense for it (which may not be something hierarchical like we do for the CPU, where we often do a map-reduce kind of pattern). Do you have thoughts on that? Is there a reason why you went for reusing the CPU backend? Is it just because the simd pragmas currently live there and it seemed easier to do it that way?

https://github.com/llvm/llvm-project/pull/66465


More information about the libcxx-commits mailing list