Open
Description
Openvino uses TBB as the default threadpool. We need to support it for OV demo. There're two alternatives for this:
- Define TBB dialect in downstream and lower to it as same as lower to OMP dialect.
- 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.