/external/ltp/testcases/kernel/io/stress_cd/ |
stress_cd.c | 50 static int num_threads = DEFAULT_NUM_THREADS; variable 74 printf("\tThread [main] Creating %d threads\n", num_threads); 76 pthread_t array[num_threads]; 77 int arg[num_threads]; 79 for (i = 0; i < num_threads; i++) { 99 for (i = 0; i < num_threads; i++) { 211 num_threads = atoi(optarg); 222 if (num_threads < 0) { 224 fprintf(stderr, "ERROR: num_threads must be greater than 0");
|
/external/ltp/utils/ffsb-6.0-rc2/ |
ffsb_tg.h | 63 unsigned num_threads; member in struct:ffsb_tg 108 void init_ffsb_tg(ffsb_tg_t *tg, unsigned num_threads, unsigned tg_num);
|
/development/vndk/tools/header-checker/header-abi-linker/src/ |
header_abi_linker.cpp | 213 std::size_t num_threads = kSourcesPerBatchThread < dump_files_.size() ? local 219 for (std::size_t i = 1; i < num_threads; i++) {
|
/external/google-breakpad/src/client/linux/microdump_writer/ |
microdump_writer.cc | 237 const unsigned num_threads = dumper_->threads().size(); local 239 for (unsigned i = 0; i < num_threads; ++i) {
|
/external/ltp/testcases/misc/math/float/ |
main.c | 59 int num_threads = DEFAULT_NUM_THREADS; variable 151 num_threads = atoi(optarg); 182 if (num_threads <= 0) { 184 "num_threads undefined or incorrect, using \"1\""); 185 num_threads = 1; 188 if (nb_func * num_threads > PTHREAD_THREADS_MAX - 2) 189 while (nb_func * num_threads > PTHREAD_THREADS_MAX - 2) 190 num_threads--; 194 argv[0], nb_func, num_threads); 207 threads = malloc(nb_func * num_threads * sizeof(pthread_t)) [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_rast_priv.h | 129 unsigned num_threads; member in struct:lp_rasterizer
|
lp_setup_context.h | 89 unsigned num_threads; member in struct:lp_setup_context
|
/external/tensorflow/tensorflow/contrib/nccl/kernels/ |
nccl_manager_test.cc | 219 const int num_threads = 3; local 248 new thread::ThreadPool(Env::Default(), "test", num_threads));
|
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/ |
model_ops.cc | 206 int num_threads = worker_threads->num_threads; variable 219 Shard(num_threads, worker_threads->workers, num_data, costPerTraverse, 305 int num_threads = worker_threads->num_threads; variable 314 Shard(num_threads, worker_threads->workers, num_data, costPerTraverse,
|
stats_ops.cc | 267 int num_threads = worker_threads->num_threads; variable 332 Shard(num_threads, worker_threads->workers, num_leaves, costPerUpdate, 335 Shard(num_threads, worker_threads->workers, num_data, costPerUpdate,
|
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
gpu_bfc_allocator_test.cc | 291 static void BM_AllocationThreaded(int iters, int num_threads) { 293 thread::ThreadPool pool(Env::Default(), "test", num_threads); local 299 for (int t = 0; t < num_threads; t++) {
|
/external/tensorflow/tensorflow/core/framework/ |
device_base.h | 110 int num_threads = 0; member in struct:tensorflow::DeviceBase::CpuWorkerThreads
|
/external/tensorflow/tensorflow/core/kernels/data/ |
parallel_interleave_dataset_op.cc | 132 int64 num_threads() const { function in class:tensorflow::__anon39748::ParallelInterleaveDatasetOp::Dataset 189 workers_(dataset()->num_threads()) {} 351 worker_threads_.reserve(dataset()->num_threads()); 352 for (int64 i = 0; i < dataset()->num_threads(); ++i) {
|
/external/tensorflow/tensorflow/core/kernels/ |
xsmm_conv2d.cc | 223 int num_threads = worker_threads->num_threads; local 228 if (blocksofm > num_threads) { 230 BlockingCounter count(num_threads); 231 for (int i = 0; i < num_threads; ++i) { 233 int start = work / num_threads * i; 234 int end = (start + work / num_threads) > work 236 : start + work / num_threads; 246 int num_threads = work; local 248 BlockingCounter count(num_threads); [all...] |
nn_ops_test.cc | 107 CONV_OP op, int num_threads, int stride, 119 options.config.set_intra_op_parallelism_threads(num_threads); 502 int num_threads, int stride, Padding padding, 513 options.config.set_intra_op_parallelism_threads(num_threads); 737 thread::ThreadPool threadpool(Env::Default(), "test", num_threads); local 819 thread::ThreadPool threadpool(Env::Default(), "test", num_threads); local 911 thread::ThreadPool threadpool(Env::Default(), "test", num_threads); local 1015 thread::ThreadPool threadpool(Env::Default(), "test", num_threads); local 1195 thread::ThreadPool threadpool(Env::Default(), "test", num_threads); local [all...] |
/system/extras/tests/memtest/ |
bandwidth.cpp | 56 { "num_threads", true }, 258 bool runThreadedTest(thread_arg_t args[], int num_threads, int run_time) { 259 pthread_t threads[num_threads]; 263 for (int i = 0; i < num_threads; i++) { 283 for (int i = 0; i < num_threads; i++) { 341 if (values.count("num_threads") == 0) { 342 printf("Must specify the num_threads value.\n"); 345 int num_threads = values["num_threads"].int_value; local 347 thread_arg_t args[num_threads]; [all...] |
/external/autotest/client/tests/signaltest/src/ |
signaltest.c | 223 static int num_threads = 2; variable 255 case 't': num_threads = atoi(optarg); break; 264 if (num_threads < 2) 337 par = calloc(num_threads, sizeof(struct thread_param)); 340 stat = calloc(num_threads, sizeof(struct thread_stat)); 344 for (i = 0; i < num_threads; i++) { 371 for (i = 0; i < num_threads; i++) { 378 for (i = 0; i < num_threads - 1; i++) 413 for (i = 0; i < num_threads; i++) {
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
TensorReductionCuda.h | 116 const Index num_threads = blockDim.x * gridDim.x; local 117 for (Index i = thread_id; i < num_preserved_coeffs; i += num_threads) { 206 const Index num_threads = blockDim.x * gridDim.x; local 208 for (Index i = thread_id; i < num_packets; i += num_threads) { 389 const Index num_threads = blockDim.x * gridDim.x; local 394 for (Index i = thread_id; i < num_preserved_coeffs; i += num_threads) { 460 const Index num_threads = blockDim.x * gridDim.x; local 466 for (; i + 1 < num_preserved_coeffs; i += 2*num_threads) { 669 const Index num_threads = blockDim.x * gridDim.x; local 673 for (Index i = thread_id; i < num_preserved_coeffs; i += num_threads) { [all...] |
TensorReduction.h | 262 const int num_threads = TensorCostModel<ThreadPoolDevice>::numThreads( local 264 if (num_threads == 1) { 270 std::floor<Index>(static_cast<float>(num_coeffs) / num_threads); [all...] |
/external/libyuv/files/util/ |
psnr_main.cc | 64 int num_threads = 0; variable 185 num_threads = atoi(argv[++c]); // NOLINT 325 if (num_threads) { 326 omp_set_num_threads(num_threads);
|
/external/mesa3d/src/gallium/drivers/r600/ |
evergreen_compute.c | 714 int num_threads; local 735 num_threads = 128; 739 num_threads = 128; 743 num_threads = 128; 748 num_threads = 128; 752 num_threads = 128; 756 num_threads = 128; 760 num_threads = 128; 764 num_threads = 128; 768 num_threads = 128 [all...] |
/external/tensorflow/tensorflow/contrib/factorization/kernels/ |
clustering_ops.cc | 354 const int64 num_threads = worker_threads.num_threads; variable 376 (num_threads + 2) * kNearestNeighborsCentersMaxBlockSize) * 384 available_memory_budget / num_threads / bytes_per_row); 389 NextMultiple(num_threads, CeilOfRatio(num_points, rows_per_block)); 410 const int64 units_per_thread = num_units / num_threads; 411 BlockingCounter counter(num_threads - 1); 412 for (int64 i = 1; i < num_threads; ++i) {
|
/external/autotest/client/tests/cyclictest/src/ |
cyclictest.c | 395 static int num_threads = 1; variable 448 case 't': num_threads = atoi(optarg); break; 460 if (num_threads < 1) 549 par = calloc(num_threads, sizeof(struct thread_param)); 552 stat = calloc(num_threads, sizeof(struct thread_stat)); 556 for (i = 0; i < num_threads; i++) { 594 for (i = 0; i < num_threads; i++) { 604 printf("\033[%dA", num_threads + 2); 612 for (i = 0; i < num_threads; i++) {
|
/external/fio/t/ |
dedupe.c | 68 static unsigned int num_threads; variable 349 for (i = 0; i < num_threads; i++) { 388 threads = malloc(num_threads * sizeof(struct worker_thread)); 389 for (i = 0; i < num_threads; i++) { 405 for (i = 0; i < num_threads; i++) { 412 printf("Threads(%u): %lu items processed\n", num_threads, nitems); 458 printf("Will check <%s>, size <%llu>, using %u threads\n", filename, (unsigned long long) dev_size, num_threads); 549 num_threads = atoi(optarg); 575 if (!num_threads) 576 num_threads = cpus_online() [all...] |
/external/opencv/cv/src/ |
cvtemplmatch.cpp | 52 int k, num_threads = 0; local 134 num_threads = cvGetNumThreads(); 136 for( k = 0; k < num_threads; k++ ) 151 for( k = 0; k < num_threads; k++ ) 193 #pragma omp parallel for num_threads(num_threads) schedule(dynamic) 299 for( k = 0; k < num_threads; k++ )
|