Support TBB as threadpool
Open
CPU
enhancement
- Dominant language
- C++
- Stars
- 54
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
Openvino uses TBB as the default threadpool. We need to support it for OV demo. There're two alternatives for this:
1. Define TBB dialect in downstream and lower to it as same as lower to OMP dialect.
2. Define custom threadpool dialect in downstream and lower to it as same as lower to OMP dialect. Implement TBB as a backend of custom threadpool. The custom threadpool interface can extend more other threadpools like eigen. An example is: https://oneapi-src.github.io/oneDNN/dev_guide_threadpool.html.
Contributor guide
Assessment
This issue has not been assessed yet.