Home
last modified time | relevance | path

Searched refs:nthreads (Results 1 – 19 of 19) sorted by relevance

/external/opencv3/modules/cudaobjdetect/src/cuda/
Dhog.cu261 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/
Dhalt_on_error-torture.cc29 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/
Dthreads.c86 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()
Dtime_test.c235 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/
Dtiobench.c8 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/
DIlmThreadPool.cpp327 ThreadPool::ThreadPool (unsigned nthreads): in ThreadPool() argument
330 setNumThreads (nthreads); in ThreadPool()
/external/valgrind/drd/tests/
Dannotate_smart_pointer.cpp309 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/
Dhog.cpp1198 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/
Dctl.h35 unsigned nthreads; member
Darena.h300 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/
Dstats.c259 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()
Dctl.c536 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()
Darena.c3206 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/
DXmlSuite.java728 int nthreads = Integer.parseInt(s); in getDataProviderThreadCount() local
729 return nthreads; in getDataProviderThreadCount()
/external/opencv3/modules/objdetect/src/opencl/
Dobjdetect_hog.cl254 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/
Dcvsurf.cpp338 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/
Dutility.hpp204 CV_EXPORTS void setNumThreads(int nthreads);
/external/jemalloc/test/unit/
Dmallctl.c690 TEST_STATS_ARENAS(unsigned, nthreads); in TEST_BEGIN()
/external/llvm/test/CodeGen/PowerPC/
Dpr17168.ll75 !18 = !DILocalVariable(name: "nthreads", line: 77, scope: !4, file: !5, type: !8)