Home
last modified time | relevance | path

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

12

/external/gemmlowp/meta/
Dlegacy_multi_thread_gemv.h94 std::int32_t max_threads) { in gemv_q8_scratch() argument
95 return internal::ResolveMaxThreads(max_threads) * in gemv_q8_scratch()
99 void multi_thread_gemv_q8(gemmlowp::WorkersPool* pool, std::int32_t max_threads, in multi_thread_gemv_q8() argument
106 max_threads = internal::ResolveMaxThreads(max_threads); in multi_thread_gemv_q8()
109 if (max_threads == 1) { in multi_thread_gemv_q8()
112 internal::MultiThreadedMatrixMatrix(pool, max_threads, scratch, lhs, rhs, 1, in multi_thread_gemv_q8()
118 std::int32_t max_threads) { in gemv_f_scratch() argument
119 return internal::ResolveMaxThreads(max_threads) * in gemv_f_scratch()
123 void multi_thread_gemv_f(gemmlowp::WorkersPool* pool, std::int32_t max_threads, in multi_thread_gemv_f() argument
129 max_threads = internal::ResolveMaxThreads(max_threads); in multi_thread_gemv_f()
[all …]
Dlegacy_multi_thread_gemm.h153 std::int32_t max_threads) { in gemm_q8_scratch() argument
154 return internal::ResolveMaxThreads(max_threads) * in gemm_q8_scratch()
158 void multi_thread_gemm_q8(gemmlowp::WorkersPool* pool, std::int32_t max_threads, in multi_thread_gemm_q8() argument
166 multi_thread_gemv_q8(pool, max_threads, scratch, lhs, rhs, n, k, lhs_offset, in multi_thread_gemm_q8()
170 multi_thread_gemv_q8(pool, max_threads, scratch, rhs, lhs, m, k, rhs_offset, in multi_thread_gemm_q8()
175 max_threads = internal::ResolveMaxThreads(max_threads); in multi_thread_gemm_q8()
178 if (max_threads == 1) { in multi_thread_gemm_q8()
182 internal::MultiThreadedMatrixMatrix(pool, max_threads, scratch, lhs, rhs, m, in multi_thread_gemm_q8()
188 std::int32_t max_threads) { in gemm_f_scratch() argument
189 return internal::ResolveMaxThreads(max_threads) * in gemm_f_scratch()
[all …]
Dlegacy_multi_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()
125 internal::PrepareTasks(max_threads, m, n, k, &task_rects); in MultiThreadedMatrixMatrix()
Dmulti_thread_common.h23 inline int ResolveMaxThreads(int max_threads) { in ResolveMaxThreads() argument
24 if (max_threads == 0) { in ResolveMaxThreads()
29 return max_threads; in ResolveMaxThreads()
Dmulti_thread_transform.h36 const int max_threads = ResolveMaxThreads(context->max_num_threads()); in PrepareTransform1DTasks() local
41 const int real_tasks = std::max(1, std::min(max_threads, max_tasks_by_size)); in PrepareTransform1DTasks()
Dmulti_thread_gemm.h60 const int max_threads = ResolveMaxThreads(context->max_num_threads()); in PrepareGemmTasks() local
69 std::min(max_threads, std::min(max_tasks_by_size, max_tasks_dimension))); in PrepareGemmTasks()
/external/gemmlowp/internal/
Dplatform.h62 inline int GetHardwareConcurrency(int max_threads) { in GetHardwareConcurrency() argument
63 if (max_threads == 0) { in GetHardwareConcurrency()
68 return max_threads; in GetHardwareConcurrency()
91 inline int GetHardwareConcurrency(int max_threads) {
92 if (max_threads == 0) {
97 return max_threads;
/external/libcxx/utils/google-benchmark/src/
Dbenchmark_register.cc434 Benchmark* Benchmark::ThreadRange(int min_threads, int max_threads) { in ThreadRange() argument
436 CHECK_GE(max_threads, min_threads); in ThreadRange()
438 AddRange(&thread_counts_, min_threads, max_threads, 2); in ThreadRange()
442 Benchmark* Benchmark::DenseThreadRange(int min_threads, int max_threads, in DenseThreadRange() argument
445 CHECK_GE(max_threads, min_threads); in DenseThreadRange()
448 for (auto i = min_threads; i < max_threads; i += stride) { in DenseThreadRange()
451 thread_counts_.push_back(max_threads); in DenseThreadRange()
/external/google-benchmark/src/
Dbenchmark_register.cc434 Benchmark* Benchmark::ThreadRange(int min_threads, int max_threads) { in ThreadRange() argument
436 CHECK_GE(max_threads, min_threads); in ThreadRange()
438 AddRange(&thread_counts_, min_threads, max_threads, 2); in ThreadRange()
442 Benchmark* Benchmark::DenseThreadRange(int min_threads, int max_threads, in DenseThreadRange() argument
445 CHECK_GE(max_threads, min_threads); in DenseThreadRange()
448 for (auto i = min_threads; i < max_threads; i += stride) { in DenseThreadRange()
451 thread_counts_.push_back(max_threads); in DenseThreadRange()
/external/python/cpython3/Tools/ccbench/
Dccbench.py247 def run_throughput_tests(max_threads): argument
254 while nthreads <= max_threads:
382 def run_latency_tests(max_threads): argument
388 while nthreads <= max_threads:
509 def run_bandwidth_tests(max_threads): argument
516 while nthreads <= max_threads:
/external/python/cpython2/Tools/ccbench/
Dccbench.py249 def run_throughput_tests(max_threads): argument
256 while nthreads <= max_threads:
380 def run_latency_tests(max_threads): argument
386 while nthreads <= max_threads:
507 def run_bandwidth_tests(max_threads): argument
514 while nthreads <= max_threads:
/external/libvpx/libvpx/test/
Dvpx_temporal_svc_encoder.sh43 local max_threads="4"
54 for threads in $(seq $max_threads); do
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorCostModel.h175 double output_size, const TensorOpCost& cost_per_coeff, int max_threads) { in numThreads() argument
178 return numext::mini(max_threads, numext::maxi(1, threads)); in numThreads()
/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/vp8/common/
Donyxd.h32 int max_threads; member
/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/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/vp8/decoder/
Donyxd_int.h74 int max_threads; member
Donyxd_if.c445 fb->pbi[0]->max_threads = oxcf->max_threads; in vp8_create_decoder_instances()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ethread.c92 allocated_workers = VPXMIN(cpi->oxcf.max_threads, max_tile_cols); in create_enc_workers()
175 const int num_workers = VPXMIN(cpi->oxcf.max_threads, tile_cols); in vp9_encode_tiles_mt()
443 int num_workers = VPXMAX(cpi->oxcf.max_threads, 1); in vp9_encode_fp_row_mt()
602 int num_workers = VPXMAX(cpi->oxcf.max_threads, 1); in vp9_encode_tiles_row_mt()
Dvp9_speed_features.c691 if (cpi->use_svc && cpi->row_mt && cpi->oxcf.max_threads > 1) in set_rt_speed_feature_framesize_independent()
729 if (cpi->row_mt && cpi->oxcf.max_threads > 1) in set_rt_speed_feature_framesize_independent()
848 oxcf->max_threads > 1) in vp9_set_speed_features_framesize_dependent()
1016 oxcf->max_threads > 1) in vp9_set_speed_features_framesize_independent()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decoder.h85 int max_threads; member
/external/grpc-grpc/src/core/lib/iomgr/
Dresource_quota.cc154 int max_threads; member
627 resource_quota->max_threads = INT_MAX; in grpc_resource_quota_create()
688 resource_quota->max_threads = new_max_threads; in grpc_resource_quota_set_max_threads()
838 if (rq->num_threads_allocated + thread_count <= rq->max_threads) { in grpc_resource_user_allocate_threads()
/external/libaom/libaom/av1/decoder/
Ddecoder.h198 int max_threads; member

12