intel / intel/graph-compiler

Support TBB as threadpool

Open
#169 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.