Searched refs:num_threads (Results 26 - 50 of 104) sorted by relevance

12345

/external/compiler-rt/test/asan/TestCases/Linux/
H A Dstress_dtls.c72 int num_threads = 1; local
75 num_threads = atoi(argv[1]);
99 for (i = 0; i < num_threads; i++) {
/external/google-breakpad/src/common/linux/tests/
H A Dcrash_generator.cc172 unsigned num_threads, unsigned crash_thread, int crash_signal,
174 if (num_threads == 0 || crash_thread >= num_threads) {
175 fprintf(stderr, "CrashGenerator: Invalid thread counts; num_threads=%u"
176 " crash_thread=%u\n", num_threads, crash_thread);
180 if (!MapSharedMemory(num_threads * sizeof(pid_t))) {
192 CreateThreadsInChildProcess(num_threads);
275 void CrashGenerator::CreateThreadsInChildProcess(unsigned num_threads) { argument
278 if (num_threads <= 1)
283 ThreadData* thread_data = new ThreadData[num_threads];
171 CreateChildCrash( unsigned num_threads, unsigned crash_thread, int crash_signal, pid_t* child_pid) argument
[all...]
/external/ceres-solver/internal/ceres/
H A Dprogram_evaluator.h64 // // Create num_threads evaluate preparers. Caller owns result which must
66 // EvaluatePreparer* CreateEvaluatePreparers(int num_threads);
117 jacobian_writer_.CreateEvaluatePreparers(options.num_threads)) {
119 CHECK_EQ(1, options_.num_threads)
121 << "only options.num_threads=1 is supported.";
126 options.num_threads));
160 for (int i = 0; i < options_.num_threads; ++i) {
173 #pragma omp parallel for num_threads(options_.num_threads)
263 for (int i = 0; i < options_.num_threads;
347 CreateEvaluatorScratch(const Program& program, int num_threads) argument
[all...]
H A Ddense_jacobian_writer.h59 ScratchEvaluatePreparer* CreateEvaluatePreparers(int num_threads) { argument
60 return ScratchEvaluatePreparer::Create(*program_, num_threads);
H A Ddynamic_compressed_row_jacobian_writer.cc43 DynamicCompressedRowJacobianWriter::CreateEvaluatePreparers(int num_threads) { argument
44 return ScratchEvaluatePreparer::Create(*program_, num_threads);
H A Dminimizer.h64 num_threads = options.num_threads;
122 int num_threads; member in struct:ceres::internal::Minimizer::Options
H A Dpreconditioner.h54 num_threads(1),
65 int num_threads; member in struct:ceres::internal::Preconditioner::Options
H A Dcoordinate_descent_minimizer.cc116 evaluator_options_.num_threads = 1;
133 new LinearSolver*[options.num_threads]);
138 for (int i = 0; i < options.num_threads; ++i) {
151 #pragma omp parallel for num_threads(options.num_threads)
197 for (int i = 0; i < options.num_threads; ++i) {
H A Dblock_jacobian_writer.cc138 int num_threads) {
142 BlockEvaluatePreparer* preparers = new BlockEvaluatePreparer[num_threads];
143 for (int i = 0; i < num_threads; i++) {
137 CreateEvaluatePreparers( int num_threads) argument
H A Dcovariance_impl.cc82 evaluate_options_.num_threads = options.num_threads;
522 const int num_threads = options_.num_threads; local
523 scoped_array<double> workspace(new double[num_threads * num_cols]);
525 #pragma omp parallel for num_threads(num_threads) schedule(dynamic)
711 const int num_threads = options_.num_threads; local
712 scoped_array<double> workspace(new double[num_threads * num_col
[all...]
/external/clang/test/OpenMP/
H A Dparallel_sections_ast_print.cpp40 #pragma omp parallel sections 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)
44 #pragma omp parallel sections if (C) num_threads(s) proc_bind(close) reduction(^ : e, f) reduction(&& : g) lastprivate(b, c)
61 // CHECK-NEXT: #pragma omp parallel sections 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)
65 // CHECK-NEXT: #pragma omp parallel sections if(5) num_threads(s) proc_bind(close) reduction(^: e,f) reduction(&&: g) lastprivate(b,c)
79 // CHECK-NEXT: #pragma omp parallel sections 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)
83 // CHECK-NEXT: #pragma omp parallel sections if(1) num_threads(s) proc_bind(close) reduction(^: e,f) reduction(&&: g) lastprivate(b,c)
97 // CHECK-NEXT: #pragma omp parallel sections 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)
101 // CHECK-NEXT: #pragma omp parallel sections if(C) num_threads(s) proc_bind(close) reduction(^: e,f) reduction(&&: g) lastprivate(b,c)
125 #pragma omp parallel sections default(none), private(argc, b) firstprivate(argv) if (argc > 0) num_threads(ee) copyin(a) proc_bind(spread) reduction(| : c, d) reduction(* : e) lastprivate(argv)
126 // CHECK-NEXT: #pragma omp parallel sections default(none) private(argc,b) firstprivate(argv) if(argc > 0) num_threads(e
[all...]
H A Dparallel_for_ast_print.cpp24 #pragma omp parallel for private(argc, b), firstprivate(c, d), lastprivate(d, f) collapse(N) schedule(static, N) ordered if (argc) num_threads(N) default(shared) shared(e) reduction(+ : h)
31 // CHECK-NEXT: #pragma omp parallel for private(argc,b) firstprivate(c,d) lastprivate(d,f) collapse(N) schedule(static, N) ordered if(argc) num_threads(N) default(shared) shared(e) reduction(+: h)
53 #pragma omp parallel for private(argc, b), firstprivate(argv, c), lastprivate(d, f) collapse(2) schedule(auto) ordered if (argc) num_threads(a) default(shared) shared(e) reduction(+ : h)
57 // CHECK-NEXT: #pragma omp parallel for private(argc,b) firstprivate(argv,c) lastprivate(d,f) collapse(2) schedule(auto) ordered if(argc) num_threads(a) default(shared) shared(e) reduction(+: h)
/external/lldb/test/functionalities/thread/
H A DTestNumThreads.py59 num_threads = process.GetNumThreads()
61 self.assertTrue(num_threads == 4, 'Number of expected threads and actual threads do not match.')
/external/lldb/test/functionalities/thread/state/
H A DTestThreadStates.py117 num_threads = process.GetNumThreads()
119 self.assertTrue(num_threads == 1, 'Number of expected threads and actual threads do not match.')
158 num_threads = process.GetNumThreads()
160 self.assertTrue(num_threads == 1, 'Number of expected threads and actual threads do not match.')
207 num_threads = process.GetNumThreads()
209 self.assertTrue(num_threads == 1, 'Number of expected threads and actual threads do not match.')
251 num_threads = process.GetNumThreads()
253 self.assertTrue(num_threads == 1, 'Number of expected threads and actual threads do not match.')
306 num_threads = process.GetNumThreads()
308 self.assertTrue(num_threads
[all...]
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_screen.c487 screen->num_threads = util_cpu_caps.nr_cpus > 1 ? util_cpu_caps.nr_cpus : 0;
489 screen->num_threads = 0;
491 screen->num_threads = debug_get_num_option("LP_NUM_THREADS", screen->num_threads);
492 screen->num_threads = MIN2(screen->num_threads, LP_MAX_THREADS);
494 screen->rast = lp_rast_create(screen->num_threads);
H A Dlp_rast.c749 if (rast->num_threads == 0) {
767 for (i = 0; i < rast->num_threads; i++) {
779 if (rast->num_threads == 0) {
786 for (i = 0; i < rast->num_threads; i++) {
864 /* NOTE: if num_threads is zero, we won't use any threads */
865 for (i = 0; i < rast->num_threads; i++) {
876 * Create new lp_rasterizer. If num_threads is zero, don't create any
878 * \param num_threads number of rasterizer threads to create
881 lp_rast_create( unsigned num_threads )
902 rast->num_threads
[all...]
/external/libvpx/libvpx/test/
H A Dvp9_frame_parallel_test.cc39 // Decodes |filename| with |num_threads|. Pause at the specified frame_num,
42 string DecodeFileWithPause(const string &filename, int num_threads, argument
50 cfg.threads = num_threads;
130 // Decodes |filename| with |num_threads|. Return the md5 of the decoded
132 string DecodeFile(const string &filename, int num_threads, argument
138 cfg.threads = num_threads;
/external/lldb/source/Target/
H A DThreadList.cpp120 const uint32_t num_threads = m_threads.size(); local
121 for (idx = 0; idx < num_threads; ++idx)
142 const uint32_t num_threads = m_threads.size(); local
143 for (idx = 0; idx < num_threads; ++idx)
165 const uint32_t num_threads = m_threads.size(); local
166 for (idx = 0; idx < num_threads; ++idx)
188 const uint32_t num_threads = m_threads.size(); local
189 for (idx = 0; idx < num_threads; ++idx)
210 const uint32_t num_threads = m_threads.size(); local
211 for (idx = 0; idx < num_threads;
234 const uint32_t num_threads = m_threads.size(); local
446 const uint32_t num_threads = m_threads.size(); local
756 const uint32_t num_threads = m_threads.size(); local
[all...]
/external/lldb/test/functionalities/thread/create_during_step/
H A DTestCreateDuringStep.py107 num_threads = process.GetNumThreads()
110 self.assertTrue(num_threads == 2, 'Number of expected threads and actual threads do not match.')
139 num_threads = process.GetNumThreads()
142 self.assertTrue(num_threads == 3, 'Number of expected threads and actual threads do not match after thread exit.')
/external/lldb/test/functionalities/thread/exit_during_step/
H A DTestExitDuringStep.py107 num_threads = process.GetNumThreads()
110 self.assertTrue(num_threads == 3, 'Number of expected threads and actual threads do not match.')
143 num_threads = process.GetNumThreads()
146 self.assertTrue(num_threads == 2, 'Number of expected threads and actual threads do not match after thread exit.')
/external/lldb/test/functionalities/thread/break_after_join/
H A DTestBreakAfterJoin.py66 num_threads = process.GetNumThreads()
69 self.assertTrue(num_threads == 6, 'Number of expected threads and actual threads do not match.')
/external/lldb/test/functionalities/thread/exit_during_break/
H A DTestExitDuringBreak.py66 num_threads = process.GetNumThreads()
69 self.assertTrue(num_threads >= 5, 'Number of expected threads and actual threads do not match.')
/external/lldb/test/functionalities/thread/multi_break/
H A DTestMultipleBreakpoints.py63 num_threads = process.GetNumThreads()
66 self.assertTrue(num_threads == 3, 'Number of expected threads and actual threads do not match.')
/external/fio/t/
H A Ddedupe.c68 static unsigned int num_threads; variable
349 for (i = 0; i < num_threads; i++) {
388 threads = malloc(num_threads * sizeof(struct worker_thread));
389 for (i = 0; i < num_threads; i++) {
405 for (i = 0; i < num_threads; i++) {
412 printf("Threads(%u): %lu items processed\n", num_threads, nitems);
458 printf("Will check <%s>, size <%llu>, using %u threads\n", filename, (unsigned long long) dev_size, num_threads);
548 num_threads = atoi(optarg);
574 if (!num_threads)
575 num_threads
[all...]
/external/mesa3d/src/gallium/drivers/r600/
H A Devergreen_compute.c580 int num_threads; local
592 num_threads = 128;
596 num_threads = 128;
600 num_threads = 128;
605 num_threads = 128;
609 num_threads = 128;
613 num_threads = 128;
617 num_threads = 128;
621 num_threads = 128;
625 num_threads
[all...]

Completed in 1721 milliseconds

12345