Searched refs:num_threads (Results 1 - 25 of 135) sorted by relevance

123456

/external/clang/test/OpenMP/
H A Dparallel_num_threads_messages.cpp14 #pragma omp parallel num_threads // expected-error {{expected '(' after 'num_threads'}}
15 #pragma omp parallel num_threads ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
16 #pragma omp parallel num_threads () // expected-error {{expected expression}}
17 #pragma omp parallel num_threads (argc // expected-error {{expected ')'}} expected-note {{to match this '('}}
18 #pragma omp parallel num_threads (argc)) // expected-warning {{extra tokens at the end of '#pragma omp parallel' are ignored}}
19 #pragma omp parallel num_threads ((argc > 0) ? argv[1] : argv[2]) // expected-error 2 {{expression must have integral or unscoped enumeration type, not 'char *'}}
20 #pragma omp parallel num_threads (foobool(argc)), num_threads (true), num_threads (
[all...]
H A Dparallel_sections_num_threads_messages.cpp14 #pragma omp parallel sections num_threads // expected-error {{expected '(' after 'num_threads'}}
16 #pragma omp parallel sections num_threads ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
18 #pragma omp parallel sections num_threads () // expected-error {{expected expression}}
20 #pragma omp parallel sections num_threads (argc // expected-error {{expected ')'}} expected-note {{to match this '('}}
22 #pragma omp parallel sections num_threads (argc)) // expected-warning {{extra tokens at the end of '#pragma omp parallel sections' are ignored}}
24 #pragma omp parallel sections num_threads ((argc > 0) ? argv[1] : argv[2]) // expected-error 2 {{expression must have integral or unscoped enumeration type, not 'char *'}}
26 #pragma omp parallel sections num_threads (foobool(argc)), num_threads (true), num_threads (
[all...]
H A Dparallel_for_num_threads_messages.cpp15 #pragma omp parallel for num_threads // expected-error {{expected '(' after 'num_threads'}}
17 #pragma omp parallel for num_threads ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
19 #pragma omp parallel for num_threads () // expected-error {{expected expression}}
21 #pragma omp parallel for num_threads (argc // expected-error {{expected ')'}} expected-note {{to match this '('}}
23 #pragma omp parallel for num_threads (argc)) // expected-warning {{extra tokens at the end of '#pragma omp parallel for' are ignored}}
25 #pragma omp parallel for num_threads ((argc > 0) ? argv[1] : argv[2]) // expected-error 2 {{expression must have integral or unscoped enumeration type, not 'char *'}}
27 #pragma omp parallel for num_threads (foobool(argc)), num_threads (true), num_threads (
[all...]
/external/compiler-rt/test/lsan/TestCases/
H A Dhigh_allocator_contention.cc10 int num_threads; variable
23 for (int i = 0; i < total_num_alloc / num_threads; i++) {
33 num_threads = atoi(argv[1]);
34 assert(num_threads > 0);
35 assert(num_threads <= kMaxNumThreads);
38 printf("%d threads, %d allocations in each\n", num_threads,
39 total_num_alloc / num_threads);
40 for (int i = 0; i < num_threads; i++)
46 for (int i = 0; i < num_threads; i++) pthread_join(tid[i], 0);
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
H A Dthread_lister.h45 int num_threads,
76 int ResumeAllProcessThreads(int num_threads, pid_t *thread_pids);
H A Dlinuxthreads.cc252 int proc = -1, marker = -1, num_threads = 0; local
351 sig_num_threads = num_threads;
404 for (i = 0; i < num_threads; i++) {
415 if (num_threads >= max_threads) {
422 pids[num_threads++] = pid;
423 sig_num_threads = num_threads;
433 num_threads--;
434 sig_num_threads = num_threads;
440 num_threads--;
441 sig_num_threads = num_threads;
654 ResumeAllProcessThreads(int num_threads, pid_t *thread_pids) argument
[all...]
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
H A Dthread_lister.h45 int num_threads,
76 int ResumeAllProcessThreads(int num_threads, pid_t *thread_pids);
H A Dlinuxthreads.cc252 int proc = -1, marker = -1, num_threads = 0; local
351 sig_num_threads = num_threads;
404 for (i = 0; i < num_threads; i++) {
415 if (num_threads >= max_threads) {
422 pids[num_threads++] = pid;
423 sig_num_threads = num_threads;
433 num_threads--;
434 sig_num_threads = num_threads;
440 num_threads--;
441 sig_num_threads = num_threads;
654 ResumeAllProcessThreads(int num_threads, pid_t *thread_pids) argument
[all...]
/external/valgrind/main/drd/tests/
H A Domp_printf.c27 int num_threads = 2; local
36 case 't': num_threads = atoi(optarg); break;
47 assert(num_threads > 0);
49 omp_set_num_threads(num_threads);
H A Domp_prime.c42 int num_threads = 2; local
55 num_threads = atoi(optarg);
76 assert(num_threads >= 1);
81 omp_set_num_threads(num_threads);
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
H A Dprofiler_unittest.cc35 // the num_threads argument to this program is ingored).
83 fprintf(stderr, "USAGE: %s <iters> [num_threads] [filename]\n", argv[0]);
85 fprintf(stderr, " num_threads: how many concurrent threads.\n");
95 int num_threads = 1; local
98 num_threads = atoi(argv[2]);
113 RunManyThreads(test_other_thread, num_threads);
118 for (; num_threads < 0; ++num_threads) { // -<num_threads> to fork
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
H A Dprofiler_unittest.cc35 // the num_threads argument to this program is ingored).
83 fprintf(stderr, "USAGE: %s <iters> [num_threads] [filename]\n", argv[0]);
85 fprintf(stderr, " num_threads: how many concurrent threads.\n");
95 int num_threads = 1; local
98 num_threads = atoi(argv[2]);
113 RunManyThreads(test_other_thread, num_threads);
118 for (; num_threads < 0; ++num_threads) { // -<num_threads> to fork
/external/lldb/tools/debugserver/source/MacOSX/
H A DMachThreadList.cpp104 const size_t num_threads = m_threads.size(); local
105 for (size_t idx = 0; idx < num_threads; ++idx)
121 const size_t num_threads = m_threads.size(); local
122 for (size_t idx = 0; idx < num_threads; ++idx)
138 const size_t num_threads = m_threads.size(); local
139 for (size_t idx = 0; idx < num_threads; ++idx)
154 const size_t num_threads = m_threads.size(); local
155 for (size_t idx = 0; idx < num_threads; ++idx)
344 const uint32_t num_threads = m_threads.size(); local
345 for (uint32_t idx = 0; idx < num_threads;
361 const uint32_t num_threads = m_threads.size(); local
407 const uint32_t num_threads = m_threads.size(); local
452 const uint32_t num_threads = UpdateThreadList(process, true); local
476 const uint32_t num_threads = m_threads.size(); local
489 const uint32_t num_threads = m_threads.size(); local
502 const uint32_t num_threads = m_threads.size(); local
514 const uint32_t num_threads = m_threads.size(); local
530 const uint32_t num_threads = m_threads.size(); local
559 const uint32_t num_threads = m_threads.size(); local
588 const uint32_t num_threads = m_threads.size(); local
600 const uint32_t num_threads = m_threads.size(); local
[all...]
/external/ceres-solver/internal/ceres/
H A Dscratch_evaluate_preparer.cc42 int num_threads) {
43 ScratchEvaluatePreparer* preparers = new ScratchEvaluatePreparer[num_threads];
46 for (int i = 0; i < num_threads; i++) {
40 Create( const Program &program, int num_threads) argument
H A Dcompressed_row_jacobian_writer.h91 ScratchEvaluatePreparer* CreateEvaluatePreparers(int num_threads) { argument
92 return ScratchEvaluatePreparer::Create(*program_, num_threads);
H A Dscratch_evaluate_preparer.h49 // Create num_threads ScratchEvaluatePreparers.
51 int num_threads);
H A Dblock_jacobian_writer.h61 BlockEvaluatePreparer* CreateEvaluatePreparers(int num_threads);
H A Ddynamic_compressed_row_jacobian_writer.h59 ScratchEvaluatePreparer* CreateEvaluatePreparers(int num_threads);
H A Devaluator.h62 : num_threads(1),
67 int num_threads; member in struct:ceres::internal::Evaluator::Options
85 // The parallelism of the evaluator is controlled by num_threads; it
96 int num_threads,
/external/ceres-solver/include/ceres/
H A Dcovariance.h211 num_threads(1),
318 int num_threads; member in struct:ceres::Covariance::Options
/external/lldb/test/functionalities/thread/thread_exit/
H A DTestThreadExit.py73 num_threads = process.GetNumThreads()
75 self.assertTrue(num_threads == 2, 'Number of expected threads and actual threads do not match at breakpoint 1.')
89 num_threads = process.GetNumThreads()
91 self.assertTrue(num_threads == 3, 'Number of expected threads and actual threads do not match at breakpoint 2.')
105 num_threads = process.GetNumThreads()
107 self.assertTrue(num_threads == 2, 'Number of expected threads and actual threads do not match at breakpoint 3.')
119 num_threads = process.GetNumThreads()
121 self.assertTrue(num_threads == 1, 'Number of expected threads and actual threads do not match at breakpoint 4.')
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_screen.h52 unsigned num_threads; member in struct:llvmpipe_screen
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_screen.h52 unsigned num_threads; member in struct:llvmpipe_screen
/external/chromium_org/third_party/libxml/src/
H A DtestThreads.c100 unsigned int num_threads = sizeof(testfiles) / sizeof(testfiles[0]); local
108 for (i = 0; i < num_threads; i++) {
113 for (i = 0; i < num_threads; i++) {
121 for (i = 0; i < num_threads; i++) {
130 for (i = 0; i < num_threads; i++)
143 unsigned int num_threads = sizeof(testfiles) / sizeof(testfiles[0]); local
153 for (i = 0; i < num_threads; i++) {
158 for (i = 0; i < num_threads; i++) {
166 for (i = 0; i < num_threads; i++) {
177 for (i = 0; i < num_threads;
[all...]
H A DtestThreadsWin32.c89 unsigned int num_threads = sizeof(testfiles) / sizeof(testfiles[0]); local
98 for (i = 0; i < num_threads; i++)
104 for (i = 0; i < num_threads; i++)
116 if (WaitForMultipleObjects (num_threads, tid, TRUE, INFINITE) == WAIT_FAILED)
119 for (i = 0; i < num_threads; i++)
131 for (i = 0; i < num_threads; i++) {

Completed in 585 milliseconds

123456