Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Executorch][threadpool] Add "private" method to reset num threads in threadpool #2351

Closed
wants to merge 9 commits into from

Commits on Mar 11, 2024

  1. [Executorch][threadpool] Add "private" method to reset num threads in…

    … threadpool
    
    This diff introduces new API to reset threadpool. This will be short-lived
    features. It is needed atm because we dont have a) a way to use only a subset of
    threads to distribute work in the threadpool and b) API to create threadpool of
    custom size and pass such a threadpool to backends like delegtes, cusotm ops,
    optimized cpu op lib etc.
    
    Differential Revision: [D54766070](https://our.internmc.facebook.com/intern/diff/D54766070/)
    
    [ghstack-poisoned]
    kimishpatel committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    2728d9c View commit details
    Browse the repository at this point in the history
  2. Update on "[Executorch][threadpool] Add "private" method to reset num…

    … threads in threadpool"
    
    This diff introduces new API to reset threadpool. This will be short-lived
    features. It is needed atm because we dont have a) a way to use only a subset of
    threads to distribute work in the threadpool and b) API to create threadpool of
    custom size and pass such a threadpool to backends like delegtes, cusotm ops,
    optimized cpu op lib etc.
    
    Differential Revision: [D54766070](https://our.internmc.facebook.com/intern/diff/D54766070/)
    
    [ghstack-poisoned]
    kimishpatel committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    814d76c View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2024

  1. Update on "[Executorch][threadpool] Add "private" method to reset num…

    … threads in threadpool"
    
    This diff introduces new API to reset threadpool. This will be short-lived
    features. It is needed atm because we dont have a) a way to use only a subset of
    threads to distribute work in the threadpool and b) API to create threadpool of
    custom size and pass such a threadpool to backends like delegtes, cusotm ops,
    optimized cpu op lib etc.
    
    Differential Revision: [D54766070](https://our.internmc.facebook.com/intern/diff/D54766070/)
    
    [ghstack-poisoned]
    kimishpatel committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    1325282 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2024

  1. Update on "[Executorch][threadpool] Add "private" method to reset num…

    … threads in threadpool"
    
    This diff introduces new API to reset threadpool. This will be short-lived
    features. It is needed atm because we dont have a) a way to use only a subset of
    threads to distribute work in the threadpool and b) API to create threadpool of
    custom size and pass such a threadpool to backends like delegtes, cusotm ops,
    optimized cpu op lib etc.
    
    Differential Revision: [D54766070](https://our.internmc.facebook.com/intern/diff/D54766070/)
    
    [ghstack-poisoned]
    kimishpatel committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    4a6d472 View commit details
    Browse the repository at this point in the history
  2. Update on "[Executorch][threadpool] Add "private" method to reset num…

    … threads in threadpool"
    
    This diff introduces new API to reset threadpool. This will be short-lived
    features. It is needed atm because we dont have a) a way to use only a subset of
    threads to distribute work in the threadpool and b) API to create threadpool of
    custom size and pass such a threadpool to backends like delegtes, cusotm ops,
    optimized cpu op lib etc.
    
    Differential Revision: [D54766070](https://our.internmc.facebook.com/intern/diff/D54766070/)
    
    [ghstack-poisoned]
    kimishpatel committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    f104a54 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2024

  1. Update on "[Executorch][threadpool] Add "private" method to reset num…

    … threads in threadpool"
    
    This diff introduces new API to reset threadpool. This will be short-lived
    features. It is needed atm because we dont have a) a way to use only a subset of
    threads to distribute work in the threadpool and b) API to create threadpool of
    custom size and pass such a threadpool to backends like delegtes, cusotm ops,
    optimized cpu op lib etc.
    
    Differential Revision: [D54766070](https://our.internmc.facebook.com/intern/diff/D54766070/)
    
    [ghstack-poisoned]
    kimishpatel committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    827327a View commit details
    Browse the repository at this point in the history
  2. Update on "[Executorch][threadpool] Add "private" method to reset num…

    … threads in threadpool"
    
    This diff introduces new API to reset threadpool. This will be short-lived
    features. It is needed atm because we dont have a) a way to use only a subset of
    threads to distribute work in the threadpool and b) API to create threadpool of
    custom size and pass such a threadpool to backends like delegtes, cusotm ops,
    optimized cpu op lib etc.
    
    Differential Revision: [D54766070](https://our.internmc.facebook.com/intern/diff/D54766070/)
    
    [ghstack-poisoned]
    kimishpatel committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    de2e4a9 View commit details
    Browse the repository at this point in the history
  3. Update on "[Executorch][threadpool] Add "private" method to reset num…

    … threads in threadpool"
    
    This diff introduces new API to reset threadpool. This will be short-lived
    features. It is needed atm because we dont have a) a way to use only a subset of
    threads to distribute work in the threadpool and b) API to create threadpool of
    custom size and pass such a threadpool to backends like delegtes, cusotm ops,
    optimized cpu op lib etc.
    
    Differential Revision: [D54766070](https://our.internmc.facebook.com/intern/diff/D54766070/)
    
    [ghstack-poisoned]
    kimishpatel committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    f872d04 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2024

  1. Update on "[Executorch][threadpool] Add "private" method to reset num…

    … threads in threadpool"
    
    This diff introduces new API to reset threadpool. This will be short-lived
    features. It is needed atm because we dont have a) a way to use only a subset of
    threads to distribute work in the threadpool and b) API to create threadpool of
    custom size and pass such a threadpool to backends like delegtes, cusotm ops,
    optimized cpu op lib etc.
    
    Differential Revision: [D54766070](https://our.internmc.facebook.com/intern/diff/D54766070/)
    
    [ghstack-poisoned]
    kimishpatel committed Mar 16, 2024
    Configuration menu
    Copy the full SHA
    ee0267c View commit details
    Browse the repository at this point in the history