WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@akukanov
Copy link
Contributor

@akukanov akukanov commented Dec 4, 2025

On top of #2499, this patch unifies the copy_if implementation for parallel and vector policies. combining much of the code previously separate for the "bounded" ranges::copy_if and the "regular" C++17 copy_if.

  • Support bounded output in __simd_copy_by_mask
  • Simplify __brick_bounded_copy_by_mask and make it stop according to the ranges::copy_if semantics
  • Subsume __brick_copy_by_mask into __brick_bounded_copy_by_mask
  • Support bounded output in __parallel_selective_copy
  • Make __pattern_bounded_copy_if "redirecting" to __parallel_selective_copy

@akukanov akukanov force-pushed the dev/improve-copy-if-akukanov branch 5 times, most recently from 75f3c9c to 9ae9a74 Compare December 5, 2025 12:42
@akukanov akukanov force-pushed the dev/improve-copy-if-akukanov branch 2 times, most recently from 92b4382 to ac55b29 Compare December 5, 2025 15:40
@akukanov akukanov force-pushed the dev/improve-copy-if-akukanov branch 2 times, most recently from 0c389c6 to 90501f7 Compare December 5, 2025 17:53
@akukanov akukanov force-pushed the dev/improve-copy-if-akukanov branch from 90501f7 to 09de756 Compare December 5, 2025 18:04
@akukanov akukanov changed the title WIP refactoring around copy_if Unify the "regular" and "bounded" implementations for copy_if Dec 5, 2025
@akukanov akukanov added this to the 2022.12.0 milestone Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant