Skip to content

Fix bulk scheduling in stdexec::parallel_scheduler#2126

Open
Cra3z wants to merge 1 commit into
NVIDIA:mainfrom
Cra3z:fix-parallel-schduler
Open

Fix bulk scheduling in stdexec::parallel_scheduler#2126
Cra3z wants to merge 1 commit into
NVIDIA:mainfrom
Cra3z:fix-parallel-schduler

Conversation

@Cra3z

@Cra3z Cra3z commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Currently, the following code fails to compile (See https://godbolt.org/z/W5ah3Y3cG):

auto sched = stdexec::get_parallel_scheduler();
auto d = stdexec::get_completion_domain<>(stdexec::get_env(stdexec::schedule(sched)), stdexec::env<>{});
static_assert(std::same_as<decltype(d), stdexec::__parallel_scheduler_domain>);

The completion domain of parallel_scheduler's sender should be stdexec::__parallel_scheduler_domain. parallel_scheduler should be able to query get_completion_domain_t<set_value_t> instead of get_domain_t.

@copy-pr-bot

copy-pr-bot Bot commented Jul 4, 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.

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