Home
last modified time | relevance | path

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

1234

/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()
35 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/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/api/
Dget_max_threads.c6 int max_threads = -1; in main() local
9 #pragma omp target map(tofrom: max_threads) in main()
10 max_threads = omp_get_max_threads(); in main()
19 printf("Max Threads: %d, Num Threads: %d\n", max_threads, num_threads); in main()
/external/llvm-project/openmp/runtime/test/worksharing/for/
Domp_for_schedule_auto.c24 int max_threads = omp_get_max_threads(); in test_omp_for_auto() local
25 int* active_threads = (int*)malloc(sizeof(int)*max_threads); in test_omp_for_auto()
26 for(j = 0; j < max_threads; j++) in test_omp_for_auto()
48 for(j = 0; j < max_threads; j++) { in test_omp_for_auto()
/external/llvm-project/openmp/runtime/test/parallel/
Domp_parallel_num_threads.c10 int max_threads = 0; in test_omp_parallel_num_threads() local
18 max_threads = omp_get_num_threads (); in test_omp_parallel_num_threads()
22 for(threads = 1; threads <= max_threads; threads++) { in test_omp_parallel_num_threads()
/external/llvm-project/llvm/utils/benchmark/src/
Dbenchmark_register.cc413 Benchmark* Benchmark::ThreadRange(int min_threads, int max_threads) { in ThreadRange() argument
415 CHECK_GE(max_threads, min_threads); in ThreadRange()
417 AddRange(&thread_counts_, min_threads, max_threads, 2); in ThreadRange()
421 Benchmark* Benchmark::DenseThreadRange(int min_threads, int max_threads, in DenseThreadRange() argument
424 CHECK_GE(max_threads, min_threads); in DenseThreadRange()
427 for (auto i = min_threads; i < max_threads; i += stride) { in DenseThreadRange()
430 thread_counts_.push_back(max_threads); in DenseThreadRange()
/external/llvm-project/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/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.cc467 Benchmark* Benchmark::ThreadRange(int min_threads, int max_threads) { in ThreadRange() argument
469 CHECK_GE(max_threads, min_threads); in ThreadRange()
471 AddRange(&thread_counts_, min_threads, max_threads, 2); in ThreadRange()
475 Benchmark* Benchmark::DenseThreadRange(int min_threads, int max_threads, in DenseThreadRange() argument
478 CHECK_GE(max_threads, min_threads); in DenseThreadRange()
481 for (auto i = min_threads; i < max_threads; i += stride) { in DenseThreadRange()
484 thread_counts_.push_back(max_threads); in DenseThreadRange()
/external/pthreadpool/bench/
Dlatency.cc8 const int max_threads = std::thread::hardware_concurrency(); in SetNumberOfThreads() local
9 for (int t = 1; t <= max_threads; t++) { in SetNumberOfThreads()
/external/python/cpython3/Tools/ccbench/
Dccbench.py240 def run_throughput_tests(max_threads): argument
247 while nthreads <= max_threads:
375 def run_latency_tests(max_threads): argument
381 while nthreads <= max_threads:
502 def run_bandwidth_tests(max_threads): argument
509 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/vp9/decoder/
Dvp9_decoder.h119 int max_threads; member
165 VP9_COMMON *cm, int num_sbs, int max_threads,
/external/libvpx/libvpx/test/
Dvpx_temporal_svc_encoder.sh44 local max_threads="4"
55 for threads in $(seq $max_threads); do
/external/igt-gpu-tools/lib/
Dgen4_render.h338 unsigned int max_threads:6; member
400 unsigned int max_threads:6; member
512 unsigned int max_threads:7; member
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Ddepthwiseconv_multithread.h133 const int max_threads = cpu_backend_context->max_num_threads(); in DepthwiseConv() local
134 thread_count = std::max(1, std::min(thread_count, max_threads)); in DepthwiseConv()
/external/igt-gpu-tools/assembler/
Dbrw_structs.h161 unsigned max_threads:5; /* may be less */ member
400 unsigned max_threads:6; member
469 unsigned max_threads:5; member
511 unsigned max_threads:6; member
573 unsigned max_threads:7; member
/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/libvpx/libvpx/vp8/common/
Donyxd.h32 int max_threads; member
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/sparse_ops/
Dfully_connected.h174 const int max_threads = cpu_backend_context->max_num_threads(); in FullyConnectedSparseWeight1x4() local
177 const int thread_count = std::max(1, std::min(batches, max_threads)); in FullyConnectedSparseWeight1x4()

1234