Searched refs:_num_threads (Results 1 – 5 of 5) sorted by relevance
35 : _num_threads(omp_get_max_threads()) in OMPScheduler()41 return _num_threads; in num_threads()47 _num_threads = (num_threads == 0) ? num_cores : num_threads; in set_num_threads()64 const unsigned int num_threads = std::min(num_iterations, _num_threads); in schedule_op()92 const unsigned int num_threads_to_use = std::min(_num_threads, amount_of_work); in run_workloads()
326 … : _num_threads(thread_hint), _threads(_num_threads - 1), _mode(Mode::Linear), _wake_fanout(0U) in Impl()344 _num_threads = num_threads == 0 ? thread_hint : num_threads; in set_num_threads()345 _threads.resize(_num_threads - 1); in set_num_threads()346 auto_switch_mode(_num_threads); in set_num_threads()350 _num_threads = num_threads == 0 ? thread_hint : num_threads; in set_num_threads_with_affinity()357 for(auto i = 1U; i < _num_threads; ++i) in set_num_threads_with_affinity()361 auto_switch_mode(_num_threads); in set_num_threads_with_affinity()408 return _num_threads; in num_threads()421 unsigned int _num_threads; member
81 unsigned int _num_threads;
89 info.num_threads = std::min(num_iterations, _num_threads);
3565 auto _num_threads = _o->num_threads; in CreateXNNPackSettings() local3569 _num_threads, in CreateXNNPackSettings()3875 auto _num_threads = _o->num_threads; in CreateCPUSettings() local3878 _num_threads); in CreateCPUSettings()