Home
last modified time | relevance | path

Searched refs:num_threads (Results 1 – 25 of 36) sorted by relevance

12

/external/ceres-solver/internal/ceres/
Dprogram_evaluator.h103 jacobian_writer_.CreateEvaluatePreparers(options.num_threads)) { in ProgramEvaluator()
105 CHECK_EQ(1, options_.num_threads) in ProgramEvaluator()
112 options.num_threads)); in ProgramEvaluator()
139 for (int i = 0; i < options_.num_threads; ++i) { in Evaluate()
148 #pragma omp parallel for num_threads(options_.num_threads) in Evaluate()
237 for (int i = 0; i < options_.num_threads; ++i) { in Evaluate()
305 int num_threads) { in CreateEvaluatorScratch() argument
314 EvaluateScratch* evaluate_scratch = new EvaluateScratch[num_threads]; in CreateEvaluatorScratch()
315 for (int i = 0; i < num_threads; i++) { in CreateEvaluatorScratch()
Devaluator.cc76 int num_threads, in Evaluate() argument
81 CHECK_GE(num_threads, 1) in Evaluate()
91 evaluator_options.num_threads = num_threads; in Evaluate()
Dscratch_evaluate_preparer.cc42 int num_threads) { in Create() argument
43 ScratchEvaluatePreparer* preparers = new ScratchEvaluatePreparer[num_threads]; in Create()
46 for (int i = 0; i < num_threads; i++) { in Create()
Devaluator.h59 : num_threads(1), in Options()
63 int num_threads; member
92 int num_threads,
Dcoordinate_descent_minimizer.cc116 evaluator_options_.num_threads = 1; in Init()
132 scoped_array<LinearSolver*> linear_solvers(new LinearSolver*[options.num_threads]); in Minimize()
137 for (int i = 0; i < options.num_threads; ++i) { in Minimize()
150 #pragma omp parallel for num_threads(options.num_threads) in Minimize()
196 for (int i = 0; i < options.num_threads; ++i) { in Minimize()
Dsystem_test.cc73 num_threads(1) { in SolverConfig()
84 num_threads(1) { in SolverConfig()
94 num_threads); in ToString()
101 int num_threads; member
136 options.num_threads = config.num_threads; in RunSolversAndCheckTheyMatch()
137 options.num_linear_solver_threads = config.num_threads; in RunSolversAndCheckTheyMatch()
529 configs[i].num_threads = 2; in TEST()
Dminimizer.h62 num_threads = options.num_threads; in Init()
96 int num_threads; member
Dcompressed_row_jacobian_writer.h57 ScratchEvaluatePreparer* CreateEvaluatePreparers(int num_threads) { in CreateEvaluatePreparers() argument
58 return ScratchEvaluatePreparer::Create(*program_, num_threads); in CreateEvaluatePreparers()
Dsolver_impl.cc237 if (options.num_threads > 1) { in Solve()
242 options.num_threads = 1; in Solve()
253 summary->num_threads_given = original_options.num_threads; in Solve()
254 summary->num_threads_used = options.num_threads; in Solve()
267 options.num_threads, in Solve()
353 options.num_threads, in Solve()
476 options.num_threads, in Solve()
852 linear_solver_options.num_threads = options->num_linear_solver_threads; in CreateLinearSolver()
859 if ((linear_solver_options.num_threads > 1) && in CreateLinearSolver()
865 linear_solver_options.num_threads = 1; in CreateLinearSolver()
[all …]
Ddense_jacobian_writer.h59 ScratchEvaluatePreparer* CreateEvaluatePreparers(int num_threads) { in CreateEvaluatePreparers() argument
60 return ScratchEvaluatePreparer::Create(*program_, num_threads); in CreateEvaluatePreparers()
Dblock_jacobian_writer.cc138 int num_threads) { in CreateEvaluatePreparers() argument
142 BlockEvaluatePreparer* preparers = new BlockEvaluatePreparer[num_threads]; in CreateEvaluatePreparers()
143 for (int i = 0; i < num_threads; i++) { in CreateEvaluatePreparers()
Dlinear_solver.h79 num_threads(1), in Options()
101 int num_threads; member
Dscratch_evaluate_preparer.h51 int num_threads);
Dblock_jacobian_writer.h61 BlockEvaluatePreparer* CreateEvaluatePreparers(int num_threads);
Dschur_eliminator.h222 : num_threads_(options.num_threads) { in SchurEliminator()
/external/chromium/third_party/libjingle/source/talk/session/phone/
Dcodec.h142 num_threads(kDefaultMaxThreads), in VideoEncoderConfig()
148 num_threads(kDefaultMaxThreads), in VideoEncoderConfig()
154 num_threads(t), in VideoEncoderConfig()
160 num_threads = config.num_threads;
167 num_threads == config.num_threads &&
176 int num_threads; member
/external/valgrind/main/drd/tests/
Domp_printf.c27 int num_threads = 2; in main() local
36 case 't': num_threads = atoi(optarg); break; in main()
47 assert(num_threads > 0); in main()
49 omp_set_num_threads(num_threads); in main()
Domp_prime.c42 int num_threads = 2; in main() local
55 num_threads = atoi(optarg); in main()
76 assert(num_threads >= 1); in main()
81 omp_set_num_threads(num_threads); in main()
/external/chromium/base/
Dobserver_list_unittest.cc274 static void ThreadSafeObserverHarness(int num_threads, in ThreadSafeObserverHarness() argument
279 num_threads = num_threads > kMaxThreads ? kMaxThreads : num_threads; in ThreadSafeObserverHarness()
293 for (int index = 0; index < num_threads; index++) { in ThreadSafeObserverHarness()
309 for (int index = 0; index < num_threads; index++) { in ThreadSafeObserverHarness()
/external/ceres-solver/include/ceres/
Dsolver.h67 num_threads = 1; in Options()
166 int num_threads; member
/external/chromium/base/threading/
Dsimple_thread.cc80 int num_threads) in DelegateSimpleThreadPool() argument
82 num_threads_(num_threads), in DelegateSimpleThreadPool()
Dsimple_thread.h152 DelegateSimpleThreadPool(const std::string& name_prefix, int num_threads);
/external/opencv/cv/src/
Dcvtemplmatch.cpp52 int k, num_threads = 0; in icvCrossCorr() local
134 num_threads = cvGetNumThreads(); in icvCrossCorr()
136 for( k = 0; k < num_threads; k++ ) in icvCrossCorr()
151 for( k = 0; k < num_threads; k++ ) in icvCrossCorr()
193 #pragma omp parallel for num_threads(num_threads) schedule(dynamic) in icvCrossCorr()
299 for( k = 0; k < num_threads; k++ ) in icvCrossCorr()
/external/ceres-solver/examples/
Dbundle_adjuster.cc103 DEFINE_int32(num_threads, 1, "Number of threads.");
224 options->num_threads = FLAGS_num_threads; in SetMinimizerOptions()
/external/eigen/Eigen/src/Core/products/
DParallelizer.h133 #pragma omp parallel for schedule(static,1) num_threads(threads) in parallelize_gemm()

12