Skip to content

add delegation example#54

Merged
m-fila merged 5 commits into
mainfrom
delegation
Mar 13, 2026
Merged

add delegation example#54
m-fila merged 5 commits into
mainfrom
delegation

Conversation

@m-fila

@m-fila m-fila commented Mar 12, 2026

Copy link
Copy Markdown
Member

Adding examples demonstrating delegating calls CUDA API to a designated thread (delegation optimization). This implemented by changing executor/scheduler for child coroutine/sender.
The examples with Capy and stdexec are added. For alien coroutine an algorithm changing scheduler isn't implemented yet so there is no example.

Also bumping Capy since the current version had a bug where coroutines with changed executor were still running with the former executor.

@ericcano

@m-fila m-fila merged commit eaa324f into main Mar 13, 2026
1 check passed
@m-fila m-fila deleted the delegation branch March 13, 2026 07:57
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