Lines Matching refs:num_threads
51 * @param num_threads Maximum number of threads to use for this task.
56 Predicate pred, thread_index_t num_threads)
81 if(right - left + 1 >= 2 * num_threads * chunk_size)
82 # pragma omp parallel num_threads(num_threads)
86 num_threads = omp_get_num_threads();
87 reserved_left = new bool[num_threads];
88 reserved_right = new bool[num_threads];
93 / (double)num_threads);
98 while (right - left + 1 >= 2 * num_threads * chunk_size)
104 for (int r = 0; r < num_threads; ++r)