Skip to content

Windows thread pool bulk customization - #2320

Merged
ericniebler merged 3 commits into
NVIDIA:mainfrom
Cra3z:windows-thread-pool-bulk
Oct 10, 2026
Merged

ericniebler merged 3 commits into
NVIDIA:mainfrom
Cra3z:windows-thread-pool-bulk

Conversation

@Cra3z

@Cra3z Cra3z commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

With STDEXEC_ENABLE_WINDOWS_THREAD_POOL, the default parallel_scheduler backend runs bulk work as bulk(schedule(pool_scheduler), par, n, f) on a windows_thread_pool. That pool doesn't customize bulk_chunked / bulk_unchunked, so the default implementation runs all n iterations serially on one thread.
For this reason, add customizations of the bulk_chunked / bulk_unchunked algorithms for windows_thread_pool.

@copy-pr-bot

copy-pr-bot Bot commented Oct 9, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@Cra3z
Cra3z force-pushed the windows-thread-pool-bulk branch from 3a72f67 to f90d795 Compare October 9, 2026 03:53

@ericniebler ericniebler left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@Cra3z
Cra3z requested a review from ericniebler October 10, 2026 01:19
@ericniebler

Copy link
Copy Markdown
Collaborator

/ok to test e911f96

@ericniebler
ericniebler merged commit fbf2dee into NVIDIA:main Oct 10, 2026
39 checks passed
@ericniebler

Copy link
Copy Markdown
Collaborator

Thanks!

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.

2 participants