MCPcopy 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
84int MaxParallelism() { return NumSchedulableCPUs(); }
85
86int MaxParallelism(int numa_node) {
87 if (numa_node != port::kNUMANoAffinity) {

Callers 15

TESTFunction · 0.50
BM_NAMEFunction · 0.50
ForEachIndexInternalMethod · 0.50
OptionsMethod · 0.50
BackendMethod · 0.50
GetParallelTaskCountMethod · 0.50
ParamsMethod · 0.50
DeviceSimpleMethod · 0.50
TESTFunction · 0.50
DefaultNumInterOpThreadsFunction · 0.50
DefaultNumIntraOpThreadsFunction · 0.50

Calls 2

NumSchedulableCPUsFunction · 0.70
NUMANumNodesFunction · 0.70

Tested by 4

TESTFunction · 0.40
BM_NAMEFunction · 0.40
TESTFunction · 0.40
BenchmarkMethod · 0.40