Home | History | Annotate | Download | only in parallel

Lines Matching refs:num_threads

134     thread_index_t num_threads =
138 # pragma omp parallel shared(busy) num_threads(num_threads)
143 num_threads = omp_get_num_threads();
146 job = new Job<difference_type>[num_threads * stride];
170 // (modulo num_threads).
171 random_number rand_gen(iam, num_threads);
181 static_cast<difference_type>(iam * (length / num_threads));
183 my_job.last = (iam == (num_threads - 1)) ?
184 (length - 1) : ((iam + 1) * (length / num_threads) - 1);