Skip to content

Implement a CPU execution thread pool #49

Closed

Description

@benvanik

This can be used for scheduling the SIMD JIT or codegen.

High-level design is of an iree/task/ task management system that is specialized for our workload (out-of-order dynamic DAGs with late-binding to parameters like dispatch counts). A custom HAL command buffer will produce the DAG fragments consisting of tasks and then submit them to task queues that fan out to a thread pool. cpuinfo will be used by default to create a thread pool that attempts to map one thread to each l2 cache, though this could be overridden.

Major components:

Activity

  1. added
    enhancement ➕
    on Oct 13, 2019
  2. added this to the milestone on Oct 13, 2019
  3. self-assigned this
    on Oct 13, 2019
  4. removed this from the milestone on Mar 19, 2020
  5. added
    runtime
    on Mar 19, 2020
  6. added this to the milestone on Mar 26, 2020
  7. modified the milestones: , on Jul 1, 2020
  8. changed the title [-]Add a Marl HAL backend[/-] [+]Implement a CPU execution thread pool[/+] on Oct 1, 2020
  9. modified the milestones: , on Oct 1, 2020
  10. added
    next-gen ✨
    on Nov 22, 2020
  11. benvanik commented on Apr 21, 2021

    @benvanik
    CollaboratorAuthor

    Done!

  12. moved this to Done in IREEon Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement ➕next-gen ✨runtime

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions