Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ MaxParallelism
Function
MaxParallelism
tensorflow/core/platform/posix/port.cc:84–84 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
82
}
83
84
int MaxParallelism() { return NumSchedulableCPUs(); }
85
86
int MaxParallelism(int numa_node) {
87
if (numa_node != port::kNUMANoAffinity) {
Callers
15
TEST
Function · 0.50
BM_NAME
Function · 0.50
ForEachIndexInternal
Method · 0.50
Options
Method · 0.50
Backend
Method · 0.50
GetParallelTaskCount
Method · 0.50
Params
Method · 0.50
DeviceSimple
Method · 0.50
TEST
Function · 0.50
GetOrCreateRunHandlerPool
Function · 0.50
DefaultNumInterOpThreads
Function · 0.50
DefaultNumIntraOpThreads
Function · 0.50
Calls
2
NumSchedulableCPUs
Function · 0.70
NUMANumNodes
Function · 0.70
Tested by
4
TEST
Function · 0.40
BM_NAME
Function · 0.40
TEST
Function · 0.40
Benchmark
Method · 0.40