/external/opencv3/modules/cudaobjdetect/src/cuda/ |
D | hog.cu | 261 template <int nthreads, // Number of threads which process one block historgam 274 __shared__ float sh_squares[nthreads * nblocks]; in normalize_hists_kernel_many_blocks() 275 float* squares = sh_squares + threadIdx.z * nthreads; in normalize_hists_kernel_many_blocks() 281 float sum = reduce_smem<nthreads>(squares, elem * elem); in normalize_hists_kernel_many_blocks() 286 sum = reduce_smem<nthreads>(squares, elem * elem); in normalize_hists_kernel_many_blocks() 301 int nthreads = power_2up(block_hist_size); in normalize_hists() local 302 dim3 threads(nthreads, 1, nblocks); in normalize_hists() 308 if (nthreads == 32) in normalize_hists() 310 else if (nthreads == 64) in normalize_hists() 312 else if (nthreads == 128) in normalize_hists() [all …]
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
D | halt_on_error-torture.cc | 29 size_t nthreads = 10; variable 61 nthreads = (size_t)strtoul(argv[1], 0, 0); in main() 64 pthread_t *tids = new pthread_t[nthreads]; in main() 66 for (size_t i = 0; i < nthreads; ++i) { in main() 73 for (size_t i = 0; i < nthreads; ++i) { in main()
|
/external/autotest/client/tests/monotonic_time/src/ |
D | threads.c | 86 int create_threads(int nthreads, thread_func_t func, void *arg) in create_threads() argument 88 if (nthreads > MAX_THREADS) in create_threads() 89 nthreads = MAX_THREADS; in create_threads() 91 while (--nthreads >= 0) { in create_threads()
|
D | time_test.c | 235 int nthreads; in run_test() local 257 nthreads = create_per_cpu_threads(cpus, test_loop, test); in run_test() 258 if (nthreads != ncpus) { in run_test() 260 ncpus, nthreads); in run_test() 261 if (nthreads) { in run_test()
|
/external/fio/profiles/ |
D | tiobench.c | 8 static unsigned int nthreads = 1; variable 29 unsigned int nthreads; member 77 .off1 = offsetof(struct tiobench_options, nthreads), 109 sprintf(t_idx, "numjobs=%u", nthreads); in tb_prep_cmdline()
|
/external/opencv3/3rdparty/openexr/IlmThread/ |
D | IlmThreadPool.cpp | 327 ThreadPool::ThreadPool (unsigned nthreads): in ThreadPool() argument 330 setNumThreads (nthreads); in ThreadPool()
|
/external/valgrind/drd/tests/ |
D | annotate_smart_pointer.cpp | 309 const int nthreads = std::max(argc > 1 ? atoi(argv[1]) : 1, 1); in main() local 315 std::vector<Thread> T(nthreads); in main()
|
/external/opencv3/modules/objdetect/src/ |
D | hog.cpp | 1198 int nthreads; in ocl_normalize_hists() local 1220 nthreads = blocks_in_group * block_hist_size; in ocl_normalize_hists() 1222 globalThreads[0] = nthreads * num_groups; in ocl_normalize_hists() 1223 localThreads[0] = nthreads; in ocl_normalize_hists() 1238 nthreads = power_2up(block_hist_size); in ocl_normalize_hists() 1239 globalThreads[0] = img_block_width * nthreads; in ocl_normalize_hists() 1241 localThreads[0] = nthreads; in ocl_normalize_hists() 1243 if ((nthreads < 32) || (nthreads > 512) ) in ocl_normalize_hists() 1246 idx = k.set(idx, nthreads); in ocl_normalize_hists() 1252 idx = k.set(idx, (void*)NULL, nthreads * sizeof(float)); in ocl_normalize_hists() [all …]
|
/external/jemalloc/include/jemalloc/internal/ |
D | ctl.h | 35 unsigned nthreads; member
|
D | arena.h | 300 unsigned nthreads; member 580 void arena_basic_stats_merge(arena_t *arena, unsigned *nthreads, 583 void arena_stats_merge(arena_t *arena, unsigned *nthreads, const char **dss,
|
/external/jemalloc/src/ |
D | stats.c | 259 unsigned nthreads; in stats_arena_print() local 274 CTL_M2_GET("stats.arenas.0.nthreads", i, &nthreads, unsigned); in stats_arena_print() 276 "assigned threads: %u\n", nthreads); in stats_arena_print()
|
D | ctl.c | 536 astats->nthreads = 0; in ctl_arena_clear() 562 arena_stats_merge(arena, &cstats->nthreads, &cstats->dss, in ctl_arena_stats_amerge() 575 arena_basic_stats_merge(arena, &cstats->nthreads, &cstats->dss, in ctl_arena_stats_amerge() 586 sstats->nthreads += astats->nthreads; in ctl_arena_stats_smerge() 2099 CTL_RO_GEN(stats_arenas_i_nthreads, ctl_stats.arenas[mib[2]].nthreads, unsigned) in CTL_RO_NL_CGEN()
|
D | arena.c | 3206 arena_basic_stats_merge_locked(arena_t *arena, unsigned *nthreads, in arena_basic_stats_merge_locked() argument 3211 *nthreads += arena_nthreads_get(arena); in arena_basic_stats_merge_locked() 3220 arena_basic_stats_merge(arena_t *arena, unsigned *nthreads, const char **dss, in arena_basic_stats_merge() argument 3226 arena_basic_stats_merge_locked(arena, nthreads, dss, lg_dirty_mult, in arena_basic_stats_merge() 3232 arena_stats_merge(arena_t *arena, unsigned *nthreads, const char **dss, in arena_stats_merge() argument 3242 arena_basic_stats_merge_locked(arena, nthreads, dss, lg_dirty_mult, in arena_stats_merge() 3296 return (atomic_read_u(&arena->nthreads)); in arena_nthreads_get() 3303 atomic_add_u(&arena->nthreads, 1); in arena_nthreads_inc() 3310 atomic_sub_u(&arena->nthreads, 1); in arena_nthreads_dec() 3338 arena->nthreads = 0; in arena_new()
|
/external/testng/src/main/java/org/testng/xml/ |
D | XmlSuite.java | 728 int nthreads = Integer.parseInt(s); in getDataProviderThreadCount() local 729 return nthreads; in getDataProviderThreadCount()
|
/external/opencv3/modules/objdetect/src/opencl/ |
D | objdetect_hog.cl | 254 const int nthreads, const int block_hist_size, const int img_block_width, 271 float sum = reduce_smem(squares, nthreads); 280 sum = reduce_smem(squares, nthreads);
|
/external/opencv/cv/src/ |
D | cvsurf.cpp | 338 int nthreads = cvGetNumThreads(); in cvExtractSURF() local 339 #pragma omp parallel for num_threads(nthreads) schedule(dynamic) in cvExtractSURF()
|
/external/opencv3/modules/core/include/opencv2/core/ |
D | utility.hpp | 204 CV_EXPORTS void setNumThreads(int nthreads);
|
/external/jemalloc/test/unit/ |
D | mallctl.c | 690 TEST_STATS_ARENAS(unsigned, nthreads); in TEST_BEGIN()
|
/external/llvm/test/CodeGen/PowerPC/ |
D | pr17168.ll | 75 !18 = !DILocalVariable(name: "nthreads", line: 77, scope: !4, file: !5, type: !8)
|