commit | 82d734f7a3b6f08813a9ad6272aa026779c88975 | [log] [tgz] |
---|---|---|
author | Tom Tromey <tom@tromey.com> | Sun May 23 09:04:27 2021 -0600 |
committer | Tom Tromey <tom@tromey.com> | Tue Apr 12 09:31:16 2022 -0600 |
tree | 26aea3dcb439f9c8a884535c60eb452ffcebc423 | |
parent | c0892a1d5dc29eb849e9aed0fb7c7dade6dffb23 [diff] |
Add batching parameter to parallel_for_each parallel_for_each currently requires each thread to process at least 10 elements. However, when indexing, it's fine for a thread to handle just a single CU. This patch parameterizes this, and updates the one user.