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

12345

/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...]
H A Dparallel_for_simd_num_threads_messages.cpp15 #pragma omp parallel for simd num_threads // expected-error {{expected '(' after 'num_threads'}}
17 #pragma omp parallel for simd num_threads ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
19 #pragma omp parallel for simd num_threads () // expected-error {{expected expression}}
21 #pragma omp parallel for simd num_threads (argc // expected-error {{expected ')'}} expected-note {{to match this '('}}
23 #pragma omp parallel for simd num_threads (argc)) // expected-warning {{extra tokens at the end of '#pragma omp parallel for simd' are ignored}}
25 #pragma omp parallel for simd 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 simd num_threads (foobool(argc)), num_threads (true), num_threads (
[all...]
H A Dparallel_num_threads_codegen.cpp26 #pragma omp parallel num_threads(C)
28 #pragma omp parallel num_threads(T(23))
36 #pragma omp parallel num_threads(2)
38 #pragma omp parallel num_threads(a)
H A Dparallel_ast_print.cpp38 #pragma omp parallel default(none), private(argc,b) firstprivate(argv) shared (d) if (argc > 0) num_threads(C) copyin(S<T>::TS) proc_bind(master) reduction(+:c) reduction(max:e)
40 #pragma omp parallel if (C) num_threads(s) proc_bind(close) reduction(^:e, f) reduction(&& : g)
51 // CHECK-NEXT: #pragma omp parallel default(none) private(argc,b) firstprivate(argv) shared(d) if(argc > 0) num_threads(5) copyin(S<int>::TS) proc_bind(master) reduction(+: c) reduction(max: e)
53 // CHECK-NEXT: #pragma omp parallel if(5) num_threads(s) proc_bind(close) reduction(^: e,f) reduction(&&: g)
61 // CHECK-NEXT: #pragma omp parallel default(none) private(argc,b) firstprivate(argv) shared(d) if(argc > 0) num_threads(1) copyin(S<long>::TS) proc_bind(master) reduction(+: c) reduction(max: e)
63 // CHECK-NEXT: #pragma omp parallel if(1) num_threads(s) proc_bind(close) reduction(^: e,f) reduction(&&: g)
71 // CHECK-NEXT: #pragma omp parallel default(none) private(argc,b) firstprivate(argv) shared(d) if(argc > 0) num_threads(C) copyin(S<T>::TS) proc_bind(master) reduction(+: c) reduction(max: e)
73 // CHECK-NEXT: #pragma omp parallel if(C) num_threads(s) proc_bind(close) reduction(^: e,f) reduction(&&: g)
89 #pragma omp parallel default(none), private(argc,b) firstprivate(argv) if (argc > 0) num_threads(ee) copyin(a) proc_bind(spread) reduction(| : c, d) reduction(* : e)
90 // CHECK-NEXT: #pragma omp parallel default(none) private(argc,b) firstprivate(argv) if(argc > 0) num_threads(e
[all...]
/external/strace/test/
H A Dmany_looping_threads.c34 int num_threads = 1; local
37 num_threads = atoi(argv[1]);
39 thd = malloc(num_threads * sizeof(thd[0]));
40 dprintf(1, "test start, num_threads:%d...\n", num_threads);
42 for (i = 0; i < num_threads; i++) {
/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/valgrind/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/libvpx/libvpx/test/
H A Dvp9_skip_loopfilter_test.cc40 void Init(int num_threads) { argument
49 if (num_threads > 0)
50 cfg.threads = num_threads;
128 const int num_threads = 0; local
130 skip_loop_filter.Init(num_threads);
138 const int num_threads = 1; local
140 skip_loop_filter.Init(num_threads);
148 const int num_threads = 8; local
150 skip_loop_filter.Init(num_threads);
158 const int num_threads local
168 const int num_threads = 0; local
[all...]
/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/google-breakpad/src/common/linux/tests/
H A Dcrash_generator.h69 // |num_threads| threads, and the terminating the child process by sending
72 bool CreateChildCrash(unsigned num_threads, unsigned crash_thread,
85 // Creates |num_threads| threads in the child process.
86 void CreateThreadsInChildProcess(unsigned num_threads);
/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/libxml2/
H A DtestThreads.c100 unsigned int num_threads = sizeof(testfiles) / sizeof(testfiles[0]); local
108 memset(results, 0, sizeof(*results)*num_threads);
109 memset(tid, 0xff, sizeof(*tid)*num_threads);
111 for (i = 0; i < num_threads; i++) {
119 for (i = 0; i < num_threads; i++) {
128 for (i = 0; i < num_threads; i++)
141 unsigned int num_threads = sizeof(testfiles) / sizeof(testfiles[0]); local
151 for (i = 0; i < num_threads; i++) {
156 for (i = 0; i < num_threads; i++) {
164 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++) {
/external/google-breakpad/src/client/linux/minidump_writer/
H A Dlinux_dumper_unittest_helper.cc80 int num_threads = atoi(argv[2]); local
81 if (num_threads < 1) {
85 google_breakpad::scoped_array<pthread_t> threads(new pthread_t[num_threads]);
89 for (int i = 1; i < num_threads; i++) {
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_screen.h52 unsigned num_threads; member in struct:llvmpipe_screen

Completed in 553 milliseconds

12345