Searched refs:num_threads (Results 51 - 75 of 135) sorted by relevance

123456

/external/ceres-solver/internal/ceres/
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...]
H A Diterative_schur_complement_solver.cc117 preconditioner_options.num_threads = options_.num_threads;
H A Dlinear_solver.h104 num_threads(1),
127 int num_threads; member in struct:ceres::internal::LinearSolver::Options
H A Dschur_jacobi_preconditioner.cc75 eliminator_options.num_threads = options_.num_threads;
H A Dsystem_test.cc76 num_threads(1) {
88 num_threads(1) {
99 num_threads);
106 int num_threads; member in struct:ceres::internal::SolverConfig
141 options.num_threads = config.num_threads;
142 options.num_linear_solver_threads = config.num_threads;
548 configs[i].num_threads = 2;
/external/chromium_org/sandbox/linux/tests/
H A Dunit_tests.cc39 const int num_threads = task_stat.st_nlink - 2; local
40 return num_threads;
120 int num_threads = CountThreads(); local
140 num_threads = CountThreads();
141 if (kNumExpectedThreads == num_threads)
145 ASSERT_EQ(kNumExpectedThreads, num_threads)
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
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...]
H A Dlp_setup_context.h87 unsigned num_threads; member in struct:lp_setup_context
/external/mesa3d/src/gallium/drivers/llvmpipe/
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...]
H A Dlp_setup_context.h87 unsigned num_threads; member in struct:lp_setup_context
/external/chromium_org/cc/resources/
H A Draster_worker_pool.cc22 size_t num_threads = RasterWorkerPool::GetNumRasterThreads(); local
23 while (workers_.size() < num_threads) {
104 void RasterWorkerPool::SetNumRasterThreads(int num_threads) { argument
105 DCHECK_LT(0, num_threads);
108 g_num_raster_threads = num_threads;
/external/libcxx/test/
H A Druntests.py98 def run_tests(tests, num_threads):
100 pool = multiprocessing.Pool(num_threads)
151 num_threads = multiprocessing.cpu_count() * 2
154 num_threads = int(arg)
169 results = run_tests(tests, num_threads)
/external/chromium_org/third_party/mesa/src/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...]
/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...]
/external/chromium_org/native_client_sdk/src/libraries/sdk_util/
H A Dthread_pool.cc17 // num_threads, all work will be performed on the dispatch thread.
18 ThreadPool::ThreadPool(int num_threads) argument
19 : threads_(NULL), counter_(0), num_threads_(num_threads), exiting_(false),
/external/chromium_org/base/
H A Dobserver_list_unittest.cc369 static void ThreadSafeObserverHarness(int num_threads, argument
374 num_threads = num_threads > kMaxThreads ? kMaxThreads : num_threads;
388 for (int index = 0; index < num_threads; index++) {
404 for (int index = 0; index < num_threads; index++) {
/external/ceres-solver/include/ceres/
H A Dproblem.h385 num_threads(1) {
423 int num_threads; member in struct:ceres::Problem::EvaluateOptions
H A Dsolver.h83 num_threads = 1;
345 int num_threads; member in struct:ceres::Solver::Options
591 // Solver::Options::num_threads to the maximum number possible is
/external/chromium_org/base/threading/
H A Dsimple_thread.cc87 int num_threads)
89 num_threads_(num_threads),
85 DelegateSimpleThreadPool( const std::string& name_prefix, int num_threads) argument
/external/libvpx/libvpx/test/
H A Dvp9_thread_test.cc100 // Decodes |filename| with |num_threads|. Returns the md5 of the decoded frames.
101 string DecodeFile(const string& filename, int num_threads) { argument
106 cfg.threads = num_threads;
/external/lldb/test/functionalities/thread/step_out/
H A DTestThreadStepOut.py117 num_threads = self.inferior_process.GetNumThreads()
118 self.assertEqual(num_threads, 3, 'Number of expected threads and actual threads do not match.')
/external/lldb/source/Plugins/Process/mach-core/
H A DProcessMachCore.cpp351 const uint32_t num_threads = core_objfile->GetNumThreadContexts (); local
352 for (lldb::tid_t tid = 0; tid < num_threads; ++tid)
361 const uint32_t num_threads = old_thread_list.GetSize(false); local
362 for (uint32_t i=0; i<num_threads; ++i)
/external/lldb/tools/debugserver/source/MacOSX/
H A DMachThreadList.h68 uint32_t UpdateThreadList (MachProcess *process, bool update, collection *num_threads = NULL);

Completed in 1479 milliseconds

123456