Skip to content

Fix start_scheduler query of __receiver_proxy_base in __task_scheduler.hpp - #2221

Open
yulin25 wants to merge 3 commits into
NVIDIA:mainfrom
yulin25:receiver-proxy-base-start-sched-query
Open

Fix start_scheduler query of __receiver_proxy_base in __task_scheduler.hpp#2221
yulin25 wants to merge 3 commits into
NVIDIA:mainfrom
yulin25:receiver-proxy-base-start-sched-query

Conversation

@yulin25

@yulin25 yulin25 commented Aug 21, 2026

Copy link
Copy Markdown

Background

parallel_scheduler causes a compilation error when used in an environment where it is the start scheduler.

What's changed

  • Fall back to inline_scheduler rather than failing compilation if the start scheduler cannot construct a task_scheduler.
  • Fall back to inline_scheduler rather than terminating if constructing the task_scheduler throws.
  • Add a corresponding parallel_scheduler regression test.

When the actual start scheduler cannot be used to construct a task_scheduler,
  fall back to inline_scheduler instead of failing compilation.
When constructing the task_scheduler throws an exception,
  fall back to inline_scheduler instead of terminating.
Parallel scheduler in an environment with itself as the start scheduler.
@copy-pr-bot

copy-pr-bot Bot commented Aug 21, 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