Home
last modified time | relevance | path

Searched refs:max_threads (Results 1 – 25 of 34) sorted by relevance

12

/external/gemmlowp/meta/
Dmulti_thread_common.h74 std::int32_t ResolveMaxThreads(std::int32_t max_threads) { in ResolveMaxThreads() argument
75 if (max_threads == 0) { in ResolveMaxThreads()
80 return max_threads; in ResolveMaxThreads()
117 std::int32_t max_threads, std::uint8_t* scratch, in MultiThreadedMatrixMatrix() argument
122 max_threads = internal::ResolveMaxThreads(max_threads); in MultiThreadedMatrixMatrix()
123 if (max_threads > 1) { in MultiThreadedMatrixMatrix()
124 pool->CreateWorkers(max_threads - 1); in MultiThreadedMatrixMatrix()
128 internal::PrepareTasks(max_threads, m, n, k, &task_rects); in MultiThreadedMatrixMatrix()
Dmulti_thread_gemm.h173 std::int32_t max_threads) { in gemm_q8_scratch() argument
174 return internal::ResolveMaxThreads(max_threads) * in gemm_q8_scratch()
178 void multi_thread_gemm_q8(gemmlowp::WorkersPool* pool, std::int32_t max_threads, in multi_thread_gemm_q8() argument
187 internal::MultiThreadedMatrixMatrix(pool, max_threads, scratch, lhs, rhs, m, in multi_thread_gemm_q8()
192 std::int32_t max_threads) { in gemm_f_scratch() argument
193 return internal::ResolveMaxThreads(max_threads) * in gemm_f_scratch()
197 void multi_thread_gemm_f(gemmlowp::WorkersPool* pool, std::int32_t max_threads, in multi_thread_gemm_f() argument
204 internal::MultiThreadedMatrixMatrix(pool, max_threads, scratch, lhs, rhs, m, in multi_thread_gemm_f()
209 std::int32_t max_threads) { in gemm_i32_scratch() argument
210 return internal::ResolveMaxThreads(max_threads) * in gemm_i32_scratch()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_clip_state.c84 clip->thread4.max_threads = 16 - 1; in brw_upload_clip_unit()
86 clip->thread4.max_threads = 2 - 1; in brw_upload_clip_unit()
89 clip->thread4.max_threads = 1 - 1; in brw_upload_clip_unit()
Dbrw_gs_state.c75 gs->thread4.max_threads = 1; in brw_upload_gs_unit()
77 gs->thread4.max_threads = 0; in brw_upload_gs_unit()
Dbrw_state_dump.c91 vs->thread4.max_threads + 1); in dump_vs_state()
107 gs->thread4.max_threads + 1); in dump_gs_state()
123 clip->thread4.max_threads + 1); in dump_clip_state()
143 sf->thread4.max_threads + 1); in dump_sf_state()
167 wm->wm5.max_threads + 1); in dump_wm_state()
Dbrw_structs.h177 GLuint max_threads:5; /* may be less */ member
416 GLuint max_threads:6; member
485 GLuint max_threads:5; member
527 GLuint max_threads:6; member
589 GLuint max_threads:7; member
Dbrw_vs_state.c140 vs->thread4.max_threads = CLAMP(brw->urb.nr_vs_entries / 2, in brw_upload_vs_unit()
Dbrw_wm_state.c185 wm->wm5.max_threads = brw->max_wm_threads - 1; in brw_upload_wm_unit()
/external/libchrome/base/test/
Dsequenced_worker_pool_owner.cc14 size_t max_threads, in SequencedWorkerPoolOwner() argument
17 pool_(new SequencedWorkerPool(max_threads, thread_name_prefix, this)), in SequencedWorkerPoolOwner()
Dsequenced_worker_pool_owner.h36 SequencedWorkerPoolOwner(size_t max_threads,
/external/eigen/Eigen/src/Core/products/
DParallelizer.h114 Index max_threads = std::max<Index>(1,size / 32); in parallelize_gemm()
117 Index threads = std::min<Index>(nbThreads(), max_threads); in parallelize_gemm()
/external/libchrome/base/threading/
Dsequenced_worker_pool.h190 SequencedWorkerPool(size_t max_threads,
195 SequencedWorkerPool(size_t max_threads,
Dsequenced_worker_pool.cc296 Inner(SequencedWorkerPool* worker_pool, size_t max_threads,
558 size_t max_threads, in Inner() argument
565 max_threads_(max_threads), in Inner()
1256 SequencedWorkerPool::SequencedWorkerPool(size_t max_threads, in SequencedWorkerPool() argument
1259 inner_(new Inner(this, max_threads, thread_name_prefix, NULL)) { in SequencedWorkerPool()
1262 SequencedWorkerPool::SequencedWorkerPool(size_t max_threads, in SequencedWorkerPool() argument
1266 inner_(new Inner(this, max_threads, thread_name_prefix, observer)) { in SequencedWorkerPool()
/external/opencv/cv/src/
DmycvHaarDetectObjects.cpp717 int max_threads = cvGetNumThreads(); in mycvSetImagesForHaarClassifierCascade() local
718 #pragma omp parallel for num_threads(max_threads) schedule(dynamic) in mycvSetImagesForHaarClassifierCascade()
885 int i, max_threads = 0; in mycvHaarDetectObjects() local
942 max_threads = cvGetNumThreads(); in mycvHaarDetectObjects()
943 if( max_threads > 1 ) in mycvHaarDetectObjects()
944 for( i = 0; i < max_threads; i++ ) in mycvHaarDetectObjects()
1217 #pragma omp parallel for num_threads(max_threads) schedule(dynamic) in mycvHaarDetectObjects()
1283 if( max_threads > 1 ) in mycvHaarDetectObjects()
1284 for( i = 0; i < max_threads; i++ ) in mycvHaarDetectObjects()
1554 if( max_threads > 1 ) in mycvHaarDetectObjects()
[all …]
Dcvhaar.cpp518 int max_threads = cvGetNumThreads(); in cvSetImagesForHaarClassifierCascade() local
519 #pragma omp parallel for num_threads(max_threads) schedule(dynamic) in cvSetImagesForHaarClassifierCascade()
869 int i, max_threads = 0; in cvHaarDetectObjects() local
914 max_threads = cvGetNumThreads(); in cvHaarDetectObjects()
915 if( max_threads > 1 ) in cvHaarDetectObjects()
916 for( i = 0; i < max_threads; i++ ) in cvHaarDetectObjects()
978 if( max_threads > 1 ) in cvHaarDetectObjects()
980 strip_count = MAX(MIN(sz1.height/ystep, max_threads*3), 1); in cvHaarDetectObjects()
1006 #pragma omp parallel for num_threads(max_threads) schedule(dynamic) in cvHaarDetectObjects()
1077 if( max_threads > 1 ) in cvHaarDetectObjects()
[all …]
/external/google-benchmark/src/
Dbenchmark.cc304 void ThreadRange(int min_threads, int max_threads);
477 void BenchmarkImp::ThreadRange(int min_threads, int max_threads) { in ThreadRange() argument
479 CHECK_GE(max_threads, min_threads); in ThreadRange()
481 AddRange(&thread_counts_, min_threads, max_threads, 2); in ThreadRange()
574 Benchmark* Benchmark::ThreadRange(int min_threads, int max_threads) { in ThreadRange() argument
575 imp_->ThreadRange(min_threads, max_threads); in ThreadRange()
/external/libvpx/libvpx/vp8/common/
Donyxd.h35 int max_threads; member
/external/v8/tools/
Dstats-viewer.py430 self.max_threads = data.IntAt(12)
432 self._HEADER_SIZE + self.max_threads * (self._THREAD_NAME_SIZE + 2 * 4)
447 value_offset = self.counter_values_offset + i * self.max_threads * 4
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ethread.c71 const int num_workers = VPXMIN(cpi->oxcf.max_threads, tile_cols); in vp9_encode_tiles_mt()
84 allocated_workers = VPXMIN(cpi->oxcf.max_threads, max_tile_cols); in vp9_encode_tiles_mt()
/external/google-breakpad/src/google_breakpad/processor/
Dminidump.h316 static void set_max_threads(uint32_t max_threads) { in set_max_threads() argument
317 max_threads_ = max_threads; in set_max_threads()
319 static uint32_t max_threads() { return max_threads_; } in max_threads() function
/external/libvpx/libvpx/vp8/decoder/
Donyxd_int.h85 int max_threads; member
Donyxd_if.c484 fb->pbi[0]->max_threads = oxcf->max_threads; in vp8_create_decoder_instances()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_thread_registry.cc90 ThreadRegistry::ThreadRegistry(ThreadContextFactory factory, u32 max_threads, in ThreadRegistry() argument
93 max_threads_(max_threads), in ThreadRegistry()
Dsanitizer_thread_registry.h80 ThreadRegistry(ThreadContextFactory factory, u32 max_threads,
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decoder.h86 int max_threads; member

12