HomeSort by relevance Sort by last modified time
    Searched defs:__num_threads (Results 1 - 11 of 11) sorted by null

  /prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.8/include/parallel/
omp_loop.h 77 _ThreadIndex __num_threads = __gnu_parallel::min<_DifferenceType> local
82 # pragma omp parallel num_threads(__num_threads)
86 __num_threads = omp_get_num_threads();
87 __thread_results = new _Result[__num_threads];
89 for (_ThreadIndex __i = 0; __i < __num_threads; ++__i)
101 for (_ThreadIndex __i = 0; __i < __num_threads; ++__i)
omp_loop_static.h 77 _ThreadIndex __num_threads = std::min<_DifferenceType> local
82 # pragma omp parallel num_threads(__num_threads)
86 __num_threads = omp_get_num_threads();
87 __thread_results = new _Result[__num_threads];
89 for (_ThreadIndex __i = 0; __i < __num_threads; ++__i)
101 for (_ThreadIndex __i = 0; __i < __num_threads; ++__i)
par_loop.h 78 _ThreadIndex __num_threads = __gnu_parallel::min<_DifferenceType> local
81 # pragma omp parallel num_threads(__num_threads)
85 __num_threads = omp_get_num_threads();
87 (::operator new(__num_threads * sizeof(_Result)));
88 __constructed = new bool[__num_threads];
97 __start = __equally_split_point(__length, __num_threads, __iam),
98 __stop = __equally_split_point(__length, __num_threads, __iam + 1);
119 for (_ThreadIndex __i = 0; __i < __num_threads; ++__i)
search.h 110 _ThreadIndex __num_threads = std::max<_DifferenceType> local
117 # pragma omp parallel num_threads(__num_threads)
121 __num_threads = omp_get_num_threads();
122 __splitters = new _DifferenceType[__num_threads + 1];
123 __equally_split(__input_length, __num_threads, __splitters);
unique_copy.h 69 _ThreadIndex __num_threads = __get_max_threads(); local
71 # pragma omp parallel num_threads(__num_threads)
75 __num_threads = omp_get_num_threads();
76 __borders = new _DifferenceType[__num_threads + 2];
77 __equally_split(__size, __num_threads + 1, __borders);
78 __counter = new _DifferenceType[__num_threads + 1];
132 for (_ThreadIndex __t = 0; __t < __num_threads; ++__t)
139 __begin = __borders[__num_threads];
153 __counter[__num_threads] = __i;
171 for (_ThreadIndex __t = 0; __t < __num_threads + 1; __t++
    [all...]
find.h 114 _ThreadIndex __num_threads = __get_max_threads(); local
115 # pragma omp parallel num_threads(__num_threads)
119 __num_threads = omp_get_num_threads();
120 __borders = new _DifferenceType[__num_threads + 1];
121 __equally_split(__length, __num_threads, __borders);
221 _ThreadIndex __num_threads = __get_max_threads(); local
222 # pragma omp parallel shared(__result) num_threads(__num_threads)
225 __num_threads = omp_get_num_threads();
345 _ThreadIndex __num_threads = __get_max_threads(); local
346 # pragma omp parallel shared(__result) num_threads(__num_threads)
    [all...]
balanced_quicksort.h 95 * @param __num_threads Number of threads that are allowed to work on
101 _Compare __comp, _ThreadIndex __num_threads)
103 _GLIBCXX_PARALLEL_ASSERT(__num_threads > 0);
144 __num_threads);
167 * @param __num_threads
174 _ThreadIndex __iam, _ThreadIndex __num_threads,
183 if (__num_threads <= 1 || __n <= 1)
195 __qsb_divide(__begin, __end, __comp, __num_threads);
204 (1, std::min<_ThreadIndex>(__num_threads - 1, __split_pos
205 * __num_threads / __n))
262 _ThreadIndex __num_threads = __tl._M_num_threads; local
    [all...]
set_operations.h 375 _ThreadIndex __num_threads = local
379 # pragma omp parallel num_threads(__num_threads)
383 __num_threads = omp_get_num_threads();
385 __borders = new _DifferenceType[__num_threads + 2];
386 __equally_split(__size, __num_threads + 1, __borders);
387 __block_begins = new _IteratorPair[__num_threads + 1];
390 __lengths = new _DifferenceType[__num_threads];
447 for (_ThreadIndex __i = 0; __i < __num_threads; ++__i)
450 __block_begin = __block_begins[__num_threads];
workstealing.h 135 _ThreadIndex __num_threads = __gnu_parallel::max<_ThreadIndex> local
139 # pragma omp parallel shared(__busy) num_threads(__num_threads)
143 __num_threads = omp_get_num_threads();
146 __job = new _Job<_DifferenceType>[__num_threads * __stride];
170 // (modulo __num_threads).
171 _RandomNumber __rand_gen(__iam, __num_threads);
181 (__iam * (__length / __num_threads));
183 __my_job._M_last = (__iam == (__num_threads - 1)
185 : ((__iam + 1) * (__length / __num_threads) - 1));
multiway_merge.h 1054 const _ThreadIndex __num_threads = omp_get_num_threads(); local
1138 const _ThreadIndex __num_threads = omp_get_num_threads(); local
    [all...]
random_shuffle.h 260 * @param __num_threads Number of threads to use.
268 _ThreadIndex __num_threads,
279 if (__num_threads > __n)
280 __num_threads = static_cast<_ThreadIndex>(__n);
328 std::max<_BinIndex>(__num_threads, __num_bins));
330 if (__num_threads <= 1)
342 # pragma omp parallel num_threads(__num_threads)
344 _ThreadIndex __num_threads = omp_get_num_threads(); local
347 __pus = new _DRSSorterPU<_RAIter, _RandomNumber>[__num_threads];
349 __sd._M_temporaries = new _ValueType*[__num_threads];
    [all...]

Completed in 1185 milliseconds