Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

write a Legion scheduler

Open
#903 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp

Research direction

Start by reading stdexec's scheduler model and the Legion and Thrust APIs mentioned in the issue. Define the scope for a Legion scheduler and async Thrust algorithms that accept schedulers, then validate the proposed sync_wait(thrust_algorithm(legion_scheduler, arguments...)) usage as the completion target.

Written by the indexing model from the issue text.

Description

enhancement P1

I think there is a good story we can tell about how stdexec can add value to Legion. Consider:

  • We intend to write a Legion scheduler for stdexec
  • We intent to write async versions of the Thrust algorithms that take schedulers

Putting 2 and 2 together, we can make it utterly trivial for anybody currently using Thrust (lots of developers) to target the Legion runtime:

// Execute a Thrust algorithm on Legion:
auto [results...] = sync_wait(thrust_algorithm(legion_scheduler, arguments...)).value();

That's obviously just scratching the surface.

Dominant language
C++
Stars
2.4k
Forks
270
Avg merge
2d 17h
Merged PRs (30d)
37

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NVIDIA/stdexec

All issues in NVIDIA/stdexec

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.