Lines Matching refs:num_threads
83 * @param num_threads Number of threads to use.
102 thread_index_t num_threads =
105 if (num_threads < 2)
117 # pragma omp parallel num_threads(num_threads)
121 num_threads = omp_get_num_threads();
123 borders = new difference_type[num_threads + 2];
126 equally_split(n, num_threads + 1, borders);
131 / ((double)num_threads + __s.partial_sum_dilation)),
132 borderstart = n - num_threads * chunk_length;
134 for (int i = 1; i < (num_threads + 1); ++i)
139 borders[num_threads + 1] = n;
143 * num_threads));
169 sums + 1, sums + num_threads, sums + 1, bin_op, sums[0]);