/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_screen.h | 52 unsigned num_threads; member in struct:llvmpipe_screen
|
H A D | lp_query.c | 99 unsigned num_threads = MAX2(1, screen->num_threads); local 123 for (i = 0; i < num_threads; i++) { 128 for (i = 0; i < num_threads; i++) { 134 for (i = 0; i < num_threads; i++) { 171 for (i = 0; i < num_threads; i++) {
|
/external/tensorflow/tensorflow/core/lib/core/ |
H A D | blocking_counter_test.cc | 52 static void BM_BlockingCounter(int iters, int num_threads, argument 56 new thread::ThreadPool(Env::Default(), "test", num_threads)); 57 const int num_shards = num_threads * shards_per_thread; 61 for (int j = 0; j < num_threads; ++j) {
|
H A D | threadpool_test.cc | 31 for (int num_threads = 1; num_threads < kNumThreads; num_threads++) { 32 fprintf(stderr, "Testing with %d threads\n", num_threads); 33 ThreadPool pool(Env::Default(), "test", num_threads); local 38 for (int num_threads = 1; num_threads < kNumThreads; num_threads++) { 39 fprintf(stderr, "Testing with %d threads\n", num_threads); 46 ThreadPool pool(Env::Default(), "test", num_threads); local 67 ThreadPool pool(Env::Default(), "test", num_threads); local 90 ThreadPool pool(Env::Default(), "test", num_threads); local [all...] |
/external/compiler-rt/test/lsan/TestCases/ |
H A D | high_allocator_contention.cc | 11 int num_threads; variable 24 for (int i = 0; i < total_num_alloc / num_threads; i++) { 34 num_threads = atoi(argv[1]); 35 assert(num_threads > 0); 36 assert(num_threads <= kMaxNumThreads); 39 printf("%d threads, %d allocations in each\n", num_threads, 40 total_num_alloc / num_threads); 41 for (int i = 0; i < num_threads; i++) 47 for (int i = 0; i < num_threads; i++) pthread_join(tid[i], 0);
|
/external/google-benchmark/src/ |
H A D | counter.cc | 20 double Finish(Counter const& c, double cpu_time, double num_threads) { argument 26 v /= num_threads; 31 void Finish(UserCounters *l, double cpu_time, double num_threads) { argument 33 c.second.value = Finish(c.second, cpu_time, num_threads);
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
H A D | linux_dumper_unittest_helper.cc | 80 int num_threads = atoi(argv[2]); local 81 if (num_threads < 1) { 85 google_breakpad::scoped_array<pthread_t> threads(new pthread_t[num_threads]); 89 for (int i = 1; i < num_threads; i++) {
|
/external/libcxx/utils/google-benchmark/src/ |
H A D | counter.cc | 20 double Finish(Counter const& c, double cpu_time, double num_threads) { argument 26 v /= num_threads; 31 void Finish(UserCounters *l, double cpu_time, double num_threads) { argument 33 c.second.value = Finish(c.second, cpu_time, num_threads);
|
/external/tensorflow/tensorflow/contrib/lite/kernels/ |
H A D | gemm_support.cc | 61 void SetMaxNumThreads(TfLiteContext* context, int num_threads) { argument 63 GetFromContext(context)->set_max_num_threads(num_threads);
|
/external/tensorflow/tensorflow/core/kernels/batching_util/ |
H A D | fake_clock_env.cc | 56 void FakeClockEnv::BlockUntilThreadsAsleep(int num_threads) { argument 60 if (num_threads <= sleeping_threads_.size()) {
|
/external/valgrind/drd/tests/ |
H A D | omp_prime.c | 42 int num_threads = 2; local 55 num_threads = atoi(optarg); 76 assert(num_threads >= 1); 81 omp_set_num_threads(num_threads);
|
H A D | omp_printf.c | 27 int num_threads = 2; local 36 case 't': num_threads = atoi(optarg); break; 47 assert(num_threads > 0); 49 omp_set_num_threads(num_threads);
|
/external/autotest/client/tests/monotonic_time/src/ |
H A D | threads.c | 27 static int num_threads; variable 61 if (num_threads >= MAX_THREADS) 64 thread = &threads[num_threads++]; 73 --num_threads; 78 return num_threads; 95 thread = &threads[num_threads++]; 103 --num_threads; 108 return num_threads; 117 while (num_threads > 0) 118 pthread_join(threads[--num_threads] [all...] |
/external/libxml2/ |
H A D | testThreads.c | 104 unsigned int num_threads = sizeof(testfiles) / sizeof(testfiles[0]); local 112 memset(results, 0, sizeof(*results)*num_threads); 113 memset(tid, 0xff, sizeof(*tid)*num_threads); 115 for (i = 0; i < num_threads; i++) { 123 for (i = 0; i < num_threads; i++) { 132 for (i = 0; i < num_threads; i++) 145 unsigned int num_threads = sizeof(testfiles) / sizeof(testfiles[0]); local 155 for (i = 0; i < num_threads; i++) { 160 for (i = 0; i < num_threads; i++) { 168 for (i = 0; i < num_threads; [all...] |
H A D | testThreadsWin32.c | 89 unsigned int num_threads = sizeof(testfiles) / sizeof(testfiles[0]); local 98 for (i = 0; i < num_threads; i++) 104 for (i = 0; i < num_threads; i++) 116 if (WaitForMultipleObjects (num_threads, tid, TRUE, INFINITE) == WAIT_FAILED) 119 for (i = 0; i < num_threads; i++) 131 for (i = 0; i < num_threads; i++) {
|
/external/tensorflow/tensorflow/contrib/lite/tools/ |
H A D | benchmark_model.cc | 48 const std::string& input_layer_type, int num_threads) { 71 if (num_threads != -1) { 72 interpreter->SetNumThreads(num_threads); 47 InitImpl(const std::string& graph, const std::vector<int>& sizes, const std::string& input_layer_type, int num_threads) argument
|
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/ |
H A D | reinterpret_string_to_float_op.cc | 66 int num_threads = worker_threads->num_threads; variable 67 if (num_threads <= 1) { 76 Shard(num_threads, worker_threads->workers, num_data, 100, work);
|
/external/tensorflow/tensorflow/core/kernels/ |
H A D | concat_lib_cpu.h | 46 int num_threads = std::min(4, worker_threads->num_threads); local 50 num_threads = 51 static_cast<int>(std::min<int64>(num_threads, output->size() / 4096)); 55 if (num_threads == 0) { 125 Shard(worker_threads->num_threads, worker_threads->workers, output->size(),
|
H A D | diag_op_gpu.cu.cc | 31 __global__ void DiagCudaKernel(const int num_threads, const int64 size, argument 33 CUDA_1D_KERNEL_LOOP(index, num_threads) { 85 __global__ void DiagPartCudaKernel(const int num_threads, const int64 size, argument 87 CUDA_1D_KERNEL_LOOP(index, num_threads) {
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
H A D | stress_dtls.c | 73 int num_threads = 1; local 76 num_threads = atoi(argv[1]); 100 for (i = 0; i < num_threads; i++) {
|
/external/eigen/unsupported/test/ |
H A D | cxx11_tensor_thread_pool.cpp | 274 const int num_threads = internal::random<int>(3, 11); local 275 ThreadPool thread_pool(num_threads); 276 Eigen::ThreadPoolDevice thread_pool_device(&thread_pool, num_threads); 298 const int num_threads = internal::random<int>(3, 11); local 299 Eigen::ThreadPool tp(num_threads); 300 Eigen::ThreadPoolDevice thread_pool_device(&tp, num_threads); 328 const int num_threads = internal::random<int>(2, 11); local 329 ThreadPool threads(num_threads); 330 Eigen::ThreadPoolDevice device(&threads, num_threads);
|
/external/gemmlowp/test/ |
H A D | test_blocking_counter.cc | 66 void test_blocking_counter(BlockingCounter* blocking_counter, int num_threads, argument 71 for (int i = 0; i < num_threads; i++) { 77 for (int i = 0; i < num_threads; i++) { 92 for (int num_threads = 1; num_threads <= 16; num_threads++) { 96 test_blocking_counter(blocking_counter, num_threads, 98 num_threads * num_decrements_per_thread);
|
/external/libchrome/base/threading/ |
H A D | simple_thread.cc | 97 int num_threads) 99 num_threads_(num_threads), 95 DelegateSimpleThreadPool( const std::string& name_prefix, int num_threads) argument
|
/external/ltp/testcases/kernel/sched/pthreads/ |
H A D | pth_str02.c | 46 #define USAGE "\nUsage: %s [-l | -n num_threads] [-d]\n\n" \ 48 "\t-n num_threads Number of threads to create\n" \ 68 int num_threads = DEFAULT_NUM_THREADS; variable 92 tst_resm(TINFO, "Creating %d threads", num_threads); 107 | Function: Recursively creates threads while num < num_threads | 119 * Create threads while num < num_threads... 121 if (test_limit || (num < num_threads)) { 184 num_threads = atoi(optarg);
|
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_queue.h | 65 unsigned num_threads; member in struct:util_queue 78 unsigned num_threads);
|