Skip to content

Propagate exceptions thrown by parallel_scheduler bulk functions - #2340

Merged
ericniebler merged 1 commit into
NVIDIA:mainfrom
Cra3z:psch-bulk-exception
Oct 16, 2026
Merged

ericniebler merged 1 commit into
NVIDIA:mainfrom
Cra3z:psch-bulk-exception

Conversation

@Cra3z

@Cra3z Cra3z commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Fixes #2129. Currently, if the callback of parallel_scheduler's customized bulk throws, the program terminates right away. Recording the first exception thrown by the callback, as the bulk customizations of exec::libdispatch_queue and the classes derived from exec::thread_pool_base do, should solve this.

@copy-pr-bot

copy-pr-bot Bot commented Oct 16, 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.

@ericniebler

Copy link
Copy Markdown
Collaborator

/ok to test 533c342

@ericniebler
ericniebler merged commit 58e0bc9 into NVIDIA:main Oct 16, 2026
71 of 72 checks passed
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.

Clarifying the exception specification for bulk callback functions

2 participants