Skip to content

Add distributed primitives #170

@jpsamaroo

Description

@jpsamaroo

Once #117 is merged, and #166 is realized, we'll want users to be able to use Dagger for traditional concurrent programming. In order to do so, we need to be able to ensure certain scheduling patterns and communication between thunks. Important primitives include:

  • Barrier
  • Co-scheduling (two or more thunks are guaranteed to be scheduled concurrently)
  • Co-execution (same as co-scheduling, and the thunks will execute on the same type of processor (for shared-memory operations))
  • Wait on thunk completion (one or more)
  • Get thunk result
  • Block/cancel thunk scheduling

The above primitives would enable #140 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions