Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Oneflow-Inc/oneflow
/ thread_num
Method
thread_num
oneflow/core/thread/thread_pool.h:31–31 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
29
~ThreadPool();
30
31
int32_t thread_num() const { return threads_.size(); }
32
void AddWork(const std::function<void()>& work);
33
34
private:
Callers
8
Compute
Method · 0.80
CpuTopK
Function · 0.80
Compute
Method · 0.80
Compute
Method · 0.80
Call
Method · 0.80
Call
Method · 0.80
MultiThreadLoop
Function · 0.80
ConcatSplitDataContent
Function · 0.80
Calls
1
size
Method · 0.45
Tested by
no test coverage detected