MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / GetPerThreadMaxParallelism

Function GetPerThreadMaxParallelism

tensorflow/core/util/work_sharder.cc:30–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30int GetPerThreadMaxParallelism() { return per_thread_max_parallism; }
31
32void Shard(int max_parallelism, thread::ThreadPool* workers, int64 total,
33 int64 cost_per_unit, std::function<void(int64, int64)> work) {

Callers 4

eigen_cpu_deviceMethod · 0.85
TESTFunction · 0.85
ShardFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68