Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libc++] Improve the implementation of transform_reduce in the OpenMP backend #86854

Open
ldionne opened this issue Mar 27, 2024 · 0 comments
Open
Labels
libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.

Comments

@ldionne
Copy link
Member

ldionne commented Mar 27, 2024

          We could instead implement a custom type that calls the user-provided operation in its `operator+`, and then always call `operator+`. This would get rid of these macros and special casing for known operators.

Can be done in a follow-up.

Originally posted by @ldionne in #66968 (comment)

@ldionne ldionne changed the title We could instead implement a custom type that calls the user-provided operation in its operator+, and then always call operator+. This would get rid of these macros and special casing for known operators. [libc++] Improve the implementation of transform_reduce in the OpenMP backend Mar 27, 2024
@ldionne ldionne added the libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. label Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.
Projects
None yet
Development

No branches or pull requests

2 participants