Home
last modified time | relevance | path

Searched refs:num_cpu_threads (Results 1 – 5 of 5) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/
Dexecution_tree.cc242 int32_t num_cpu_threads = GlobalContext::Instance()->config_manager()->num_cpu_threads(); in LaunchWorkers() local
248 if (num_workers > num_cpu_threads) { in LaunchWorkers()
250 … << std::to_string(num_cpu_threads) << ", the maximum number of threads on this CPU."; in LaunchWorkers()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/opt/post/
Dauto_worker_pass.h48 thread_cnt_(GlobalContext::Instance()->config_manager()->num_cpu_threads()) {} in AutoWorkerPass()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/core/
Dconfig_manager.h93 int32_t num_cpu_threads() const { return num_cpu_threads_; } in num_cpu_threads() function
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/
Ddataset_node.cc637 int32_t num_threads = GlobalContext::config_manager()->num_cpu_threads(); in ValidateParams()
/third_party/mindspore/tests/ut/cpp/dataset/
Dc_api_dataset_ops_test.cc1902 int32_t cpu_core_cnt = GlobalContext::config_manager()->num_cpu_threads(); in TEST_F()