Home
last modified time | relevance | path

Searched refs:th (Results 1 – 25 of 1546) sorted by relevance

12345678910>>...62

/external/llvm-project/openmp/runtime/src/
Dz_Windows_NT_util.cpp198 kmp_info_t *th, C *flag) { in __kmp_win32_cond_wait() argument
241 TCW_PTR(th->th.th_sleep_loc, NULL); in __kmp_win32_cond_wait()
312 void __kmp_suspend_initialize_thread(kmp_info_t *th) { in __kmp_suspend_initialize_thread() argument
313 int old_value = KMP_ATOMIC_LD_RLX(&th->th.th_suspend_init); in __kmp_suspend_initialize_thread()
320 !__kmp_atomic_compare_store(&th->th.th_suspend_init, old_value, -1)) { in __kmp_suspend_initialize_thread()
321 while (KMP_ATOMIC_LD_ACQ(&th->th.th_suspend_init) != new_value) { in __kmp_suspend_initialize_thread()
326 __kmp_win32_cond_init(&th->th.th_suspend_cv); in __kmp_suspend_initialize_thread()
327 __kmp_win32_mutex_init(&th->th.th_suspend_mx); in __kmp_suspend_initialize_thread()
328 KMP_ATOMIC_ST_REL(&th->th.th_suspend_init, new_value); in __kmp_suspend_initialize_thread()
332 void __kmp_suspend_uninitialize_thread(kmp_info_t *th) { in __kmp_suspend_uninitialize_thread() argument
[all …]
Dkmp_runtime.cpp160 stack_size = (size_t)TCR_PTR(thr->th.th_info.ds.ds_stacksize); in __kmp_get_global_thread_id()
161 stack_base = (char *)TCR_PTR(thr->th.th_info.ds.ds_stackbase); in __kmp_get_global_thread_id()
191 if (!TCR_4(other_threads[i]->th.th_info.ds.ds_stackgrow)) { in __kmp_get_global_thread_id()
195 stack_base = (char *)other_threads[i]->th.th_info.ds.ds_stackbase; in __kmp_get_global_thread_id()
197 TCW_PTR(other_threads[i]->th.th_info.ds.ds_stackbase, stack_addr); in __kmp_get_global_thread_id()
198 TCW_PTR(other_threads[i]->th.th_info.ds.ds_stacksize, in __kmp_get_global_thread_id()
199 other_threads[i]->th.th_info.ds.ds_stacksize + stack_addr - in __kmp_get_global_thread_id()
202 TCW_PTR(other_threads[i]->th.th_info.ds.ds_stacksize, in __kmp_get_global_thread_id()
208 char *stack_end = (char *)other_threads[i]->th.th_info.ds.ds_stackbase; in __kmp_get_global_thread_id()
209 char *stack_beg = stack_end - other_threads[i]->th.th_info.ds.ds_stacksize; in __kmp_get_global_thread_id()
[all …]
Dz_Linux_util.cpp452 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_terminate_thread() local
454 if (!th) in __kmp_terminate_thread()
459 status = pthread_cancel(th->th.th_info.ds.ds_thread); in __kmp_terminate_thread()
472 static kmp_int32 __kmp_set_stack_info(int gtid, kmp_info_t *th) { in __kmp_set_stack_info() argument
508 TCW_PTR(th->th.th_info.ds.ds_stackbase, (((char *)addr) + size)); in __kmp_set_stack_info()
509 TCW_PTR(th->th.th_info.ds.ds_stacksize, size); in __kmp_set_stack_info()
510 TCW_4(th->th.th_info.ds.ds_stackgrow, FALSE); in __kmp_set_stack_info()
516 TCW_PTR(th->th.th_info.ds.ds_stacksize, 0); in __kmp_set_stack_info()
517 TCW_PTR(th->th.th_info.ds.ds_stackbase, &stack_data); in __kmp_set_stack_info()
518 TCW_4(th->th.th_info.ds.ds_stackgrow, TRUE); in __kmp_set_stack_info()
[all …]
Dkmp_alloc.cpp46 static void bpool(kmp_info_t *th, void *buffer, bufsize len);
47 static void *bget(kmp_info_t *th, bufsize size);
48 static void *bgetz(kmp_info_t *th, bufsize size);
49 static void *bgetr(kmp_info_t *th, void *buffer, bufsize newsize);
50 static void brel(kmp_info_t *th, void *buf);
51 static void bectl(kmp_info_t *th, bget_compact_t compact,
227 static void set_thr_data(kmp_info_t *th) { in set_thr_data() argument
231 data = (thr_data_t *)((!th->th.th_local.bget_data) in set_thr_data()
233 : th->th.th_local.bget_data); in set_thr_data()
242 th->th.th_local.bget_data = data; in set_thr_data()
[all …]
Dkmp_barrier.cpp50 kmp_team_t *team = this_thr->th.th_team; in __kmp_linear_barrier_gather_template()
51 kmp_bstate_t *thr_bar = &this_thr->th.th_bar[bt].bb; in __kmp_linear_barrier_gather_template()
58 KMP_DEBUG_ASSERT(this_thr == other_threads[this_thr->th.th_info.ds.ds_tid]); in __kmp_linear_barrier_gather_template()
63 this_thr->th.th_bar_arrive_time = this_thr->th.th_bar_min_time = in __kmp_linear_barrier_gather_template()
85 int nproc = this_thr->th.th_team_nproc; in __kmp_linear_barrier_gather_template()
95 KMP_CACHE_PREFETCH(&other_threads[i + 1]->th.th_bar[bt].bb.b_arrived); in __kmp_linear_barrier_gather_template()
101 &other_threads[i]->th.th_bar[bt].bb.b_arrived, new_state)); in __kmp_linear_barrier_gather_template()
106 &other_threads[i]->th.th_bar[bt].bb.b_arrived, new_state); in __kmp_linear_barrier_gather_template()
110 kmp_flag_64<> flag(&other_threads[i]->th.th_bar[bt].bb.b_arrived, in __kmp_linear_barrier_gather_template()
119 this_thr->th.th_bar_min_time = KMP_MIN( in __kmp_linear_barrier_gather_template()
[all …]
Dkmp_wait_release.h133 int ds_tid = this_thr->th.th_info.ds.ds_tid; in __ompt_implicit_task_end()
135 this_thr->th.ompt_thread_info.state = ompt_state_overhead; in __ompt_implicit_task_end()
151 int flags = this_thr->th.ompt_thread_info.parallel_flags; in __ompt_implicit_task_end()
158 this_thr->th.ompt_thread_info.state = ompt_state_idle; in __ompt_implicit_task_end()
160 this_thr->th.ompt_thread_info.state = ompt_state_overhead; in __ompt_implicit_task_end()
195 th_gtid = this_thr->th.th_info.ds.ds_gtid; in __kmp_wait_template()
197 kmp_team_t *team = this_thr->th.th_team; in __kmp_wait_template()
203 KMP_ATOMIC_ST_REL(&this_thr->th.th_blocking, true); in __kmp_wait_template()
265 ompt_entry_state = this_thr->th.ompt_thread_info.state; in __kmp_wait_template()
267 KMP_MASTER_TID(this_thr->th.th_info.ds.ds_tid)) { in __kmp_wait_template()
[all …]
Dkmp_dispatch.cpp43 kmp_info_t *th; in __kmp_dispatch_deo_error() local
48 th = __kmp_threads[*gtid_ref]; in __kmp_dispatch_deo_error()
49 if (th->th.th_root->r.r_active && in __kmp_dispatch_deo_error()
50 (th->th.th_dispatch->th_dispatch_pr_current->pushed_ws != ct_none)) { in __kmp_dispatch_deo_error()
61 kmp_info_t *th; in __kmp_dispatch_dxo_error() local
64 th = __kmp_threads[*gtid_ref]; in __kmp_dispatch_dxo_error()
65 if (th->th.th_dispatch->th_dispatch_pr_current->pushed_ws != ct_none) { in __kmp_dispatch_dxo_error()
118 kmp_info_t *th; in __kmp_dispatch_init_algorithm() local
139 th = __kmp_threads[gtid]; in __kmp_dispatch_init_algorithm()
140 team = th->th.th_team; in __kmp_dispatch_init_algorithm()
[all …]
/external/tensorflow/tensorflow/go/
Dtensor_handle.go53 th := &TensorHandle{c: cHandle}
54 runtime.SetFinalizer(th, (*TensorHandle).finalizer)
55 return th, nil
58 func (th *TensorHandle) finalizer() {
59 C.TFE_DeleteTensorHandle(th.c)
64 th := &TensorHandle{c: c}
65 runtime.SetFinalizer(th, (*TensorHandle).finalizer)
66 return th
70 func (th *TensorHandle) DataType() DataType {
71 return DataType(C.TFE_TensorHandleDataType(th.c))
[all …]
/external/doclava/res/assets/templates/
Dtodo.cs14 table th { property
35 <tr><th>Errors</th><td><?cs var:all.errorCount ?></td></tr>
36 <tr><th>Percent Good</th><td><?cs var:all.percentGood ?></td></tr>
37 <tr><th>Total Comments</th><td><?cs var:all.totalCount ?></td></tr>
44 <th>Package</th>
45 <th>Errors</th>
46 <th>Percent Good</th>
47 <th>Total</th>
64 <th>Class</th>
65 <th>Errors</th>
[all …]
/external/llvm-project/openmp/runtime/test/tasking/
Domp50_task_depend_mtx3.c32 int th = omp_get_thread_num(); in mutex_task() local
35 printf("task %d, th %d\n", task_id, th); in mutex_task()
60 { int th = omp_get_thread_num(); in main() local
61 printf("task 0_%d, th %d\n", t, th); in main()
64 { int th = omp_get_thread_num(); in main() local
65 printf("task 1_%d, th %d\n", t, th); in main()
68 { int th = omp_get_thread_num(); in main() local
69 printf("task 2_%d, th %d\n", t, th); in main()
72 { int th = omp_get_thread_num(); in main() local
73 printf("task 3_%d, th %d\n", t, th); in main()
[all …]
Domp50_task_depend_mtx.c52 int th = omp_get_thread_num(); in thunk() local
55 printf("task __%d, th %d\n", t, th); in thunk()
99 { int th = omp_get_thread_num(); in main() local
100 printf("task 0_%d, th %d\n", t, th); in main()
103 { int th = omp_get_thread_num(); in main() local
104 printf("task 1_%d, th %d\n", t, th); in main()
107 { int th = omp_get_thread_num(); in main() local
108 printf("task 2_%d, th %d\n", t, th); in main()
111 { int th = omp_get_thread_num(); in main() local
112 printf("task 3_%d, th %d\n", t, th); in main()
[all …]
Domp50_task_depend_mtx2.c52 int th = omp_get_thread_num(); in thunk() local
55 printf("task __%d, th %d\n", t, th); in thunk()
99 { int th = omp_get_thread_num(); in main() local
100 printf("task 0_%d, th %d\n", t, th); in main()
103 { int th = omp_get_thread_num(); in main() local
104 printf("task 1_%d, th %d\n", t, th); in main()
107 { int th = omp_get_thread_num(); in main() local
108 printf("task 2_%d, th %d\n", t, th); in main()
111 { int th = omp_get_thread_num(); in main() local
112 printf("task 3_%d, th %d\n", t, th); in main()
[all …]
/external/protobuf/docs/
Dperformance.md28 <th rowspan="2"> </th>
29 <th colspan="3" rowspan="1">C++</th>
30 <th colspan="3" rowspan="1">C++ with tcmalloc</th>
31 <th colspan="3" rowspan="1">java</th>
32 <th colspan="3" rowspan="1">python</th>
35 <th colspan="1">new</th>
36 <th colspan="1">new arena</th>
37 <th colspan="1">reuse</th>
38 <th colspan="1">new</th>
39 <th colspan="1">new arena</th>
[all …]
/external/skia/site/docs/user/sample/
Dpdf.md37 #pdftable tr th, #pdftable tr td {border:#888888 2px solid;padding: 5px;}
40 <tr><th>Effect</th> <th>text</th> <th>images</th> <th>everything
41 else</th></tr>
42 <tr><th>SkMaskFilter</th> <td>drop</td> <td>ignore</td> <td>ignore</td></tr>
43 <tr><th>SkPathEffect</th> <td>ignore</td> <td>n/a</td> <td>expand</td></tr>
44 <tr><th>SkColorFilter</th> <td>ignore</td> <td>expand</td> <td>ignore</td></tr>
45 <tr><th>SkImageFilter</th> <td>expand</td> <td>expand</td> <td>expand</td></tr>
46 <tr><th>unsupported SkXferModes</th> <td>ignore</td> <td>ignore</td> <td>ignore</td></tr>
47 <tr><th>non-gradient SkShader</th> <td>expand</td> <td>n/a</td> <td>expand</td></tr>
/external/skia/site/docs/
Droles.md20 #rolestable tr th, #rolestable tr td {border-right:white 2px solid;padding:0 5px;}
26 <th></th>
27 <th>Source Code &amp; Documentation</th>
28 <th>Code Reviews</th>
29 <th>Bug Tracker</th>
30 <th></th>
33 <th>Committer</th>
43 <th>Contributor<br>(and above)</th>
55 <th>Developer<br>(and above)</th>
/external/skqp/site/
Droles.md15 #rolestable tr th, #rolestable tr td {border-right:white 2px solid;padding:0 5px;}
21 <th></th>
22 <th>Source Code &amp; Documentation</th>
23 <th>Code Reviews</th>
24 <th>Bug Tracker</th>
25 <th></th>
28 <th>Committer</th>
38 <th>Contributor<br>(and above)</th>
50 <th>Developer<br>(and above)</th>
/external/skqp/site/user/sample/
Dpdf.md57 #pdftable tr th, #pdftable tr td {border:#888888 2px solid;padding: 5px;}
60 <tr><th>Effect</th> <th>text</th> <th>images</th> <th>everything
61 else</th></tr>
62 <tr><th>SkMaskFilter</th> <td>drop</td> <td>ignore</td> <td>ignore</td></tr>
63 <tr><th>SkPathEffect</th> <td>ignore</td> <td>n/a</td> <td>expand</td></tr>
64 <tr><th>SkColorFilter</th> <td>ignore</td> <td>expand</td> <td>ignore</td></tr>
65 <tr><th>SkImageFilter</th> <td>expand</td> <td>expand</td> <td>expand</td></tr>
66 <tr><th>unsupported SkXferModes</th> <td>ignore</td> <td>ignore</td> <td>ignore</td></tr>
67 <tr><th>non-gradient SkShader</th> <td>expand</td> <td>n/a</td> <td>expand</td></tr>
/external/eigen/doc/
DTutorialBlockOperations.dox18 <tr><th>\b %Block \b operation</td>
19 <th>Version constructing a \n dynamic-size block expression</th>
20 <th>Version constructing a \n fixed-size block expression</th></tr>
40 <tr><th>Example:</th><th>Output:</th></tr>
54 <tr><th>Example:</th><th>Output:</th></tr>
75 <tr><th>%Block operation</th>
76 <th>Method</th>
77 <tr><td>i<sup>th</sup> row
82 <tr><td>j<sup>th</sup> column
92 <tr><th>Example:</th><th>Output:</th></tr>
[all …]
DTutorialReshapeSlicing.dox17 <tr><th>Example:</th><th>Output:</th></tr>
28 <tr><th>Example:</th><th>Output:</th></tr>
45 <tr><th>Example:</th><th>Output:</th></tr>
55 <tr><th>Example:</th><th>Output:</th></tr>
DTutorialAdvancedInitialization.dox19 <tr><th>Example:</th><th>Output:</th></tr>
32 <tr><th>Example:</th><th>Output:</th></tr>
43 <tr><th>Example:</th><th>Output:</th></tr>
55 <tr><th>Example:</th><th>Output:</th></tr>
74 <tr><th>Example:</th><th>Output:</th></tr>
94 <tr><th>Example:</th><th>Output:</th></tr>
110 <tr><th>Example:</th><th>Output:</th></tr>
132 <tr><th>Example:</th><th>Output:</th></tr>
148 <tr><th>Example:</th><th>Output:</th></tr>
DTutorialLinearAlgebra.dox21 <tr><th>Example:</th><th>Output:</th></tr>
41 <th>Decomposition</th>
42 <th>Method</th>
43 <th>Requirements<br/>on the matrix</th>
44 <th>Speed<br/> (small-to-medium)</th>
45 <th>Speed<br/> (large)</th>
46 <th>Accuracy</th>
121 <tr><th>Example:</th><th>Output:</th></tr>
138 <tr><th>Example:</th><th>Output:</th></tr>
155 <tr><th>Example:</th><th>Output:</th></tr>
[all …]
/external/grpc-grpc/test/core/gprpp/
Dthd_test.cc61 for (auto& th : thds) { in test1() local
62 th = grpc_core::Thread("grpc_thread_body1_test", &thd_body1, &t); in test1()
63 th.Start(); in test1()
70 for (auto& th : thds) { in test1() local
71 th.Join(); in test1()
81 for (auto& th : thds) { in test2() local
83 th = grpc_core::Thread("grpc_thread_body2_test", &thd_body2, nullptr, &ok); in test2()
85 th.Start(); in test2()
87 for (auto& th : thds) { in test2() local
88 th.Join(); in test2()
/external/grpc-grpc/test/core/surface/
Dconcurrent_connectivity_test.cc179 for (auto& th : threads) { in run_concurrent_connectivity_test() local
180 th = grpc_core::Thread("grpc_wave_1", create_loop_destroy, localhost); in run_concurrent_connectivity_test()
181 th.Start(); in run_concurrent_connectivity_test()
183 for (auto& th : threads) { in run_concurrent_connectivity_test() local
184 th.Join(); in run_concurrent_connectivity_test()
203 for (auto& th : threads) { in run_concurrent_connectivity_test() local
204 th = grpc_core::Thread("grpc_wave_2", create_loop_destroy, args.addr); in run_concurrent_connectivity_test()
205 th.Start(); in run_concurrent_connectivity_test()
207 for (auto& th : threads) { in run_concurrent_connectivity_test() local
208 th.Join(); in run_concurrent_connectivity_test()
[all …]
/external/compiler-rt/test/tsan/
Dpthread_key.cc28 pthread_t th; in main() local
29 pthread_create(&th, 0, thr, 0); in main()
30 pthread_join(th, 0); in main()
32 pthread_t th[2]; in main() local
33 pthread_create(&th[0], 0, thr, 0); in main()
34 pthread_create(&th[1], 0, thr, 0); in main()
35 pthread_join(th[0], 0); in main()
36 pthread_join(th[1], 0); in main()
/external/llvm-project/compiler-rt/test/tsan/
Dpthread_key.cpp28 pthread_t th; in main() local
29 pthread_create(&th, 0, thr, 0); in main()
30 pthread_join(th, 0); in main()
32 pthread_t th[2]; in main() local
33 pthread_create(&th[0], 0, thr, 0); in main()
34 pthread_create(&th[1], 0, thr, 0); in main()
35 pthread_join(th[0], 0); in main()
36 pthread_join(th[1], 0); in main()

12345678910>>...62