Home
last modified time | relevance | path

Searched refs:omp_get_thread_num (Results 1 – 25 of 112) sorted by relevance

12345

/llvm-project-15.0.7/openmp/runtime/test/tasking/
H A Domp_task_priority2.c24 int th = omp_get_thread_num(); in main()
29 int val, t = omp_get_thread_num(); in main()
37 int val, t = omp_get_thread_num(); in main()
45 int val, t = omp_get_thread_num(); in main()
53 int val, t = omp_get_thread_num(); in main()
72 int th = omp_get_thread_num(); in main()
77 int val, t = omp_get_thread_num(); in main()
85 int val, t = omp_get_thread_num(); in main()
93 int val, t = omp_get_thread_num(); in main()
101 int val, t = omp_get_thread_num(); in main()
H A Domp50_task_depend_mtx3.c32 int th = omp_get_thread_num(); in mutex_task()
58 int t = omp_get_thread_num(); in main()
60 { int th = omp_get_thread_num(); in main()
64 { int th = omp_get_thread_num(); in main()
68 { int th = omp_get_thread_num(); in main()
72 { int th = omp_get_thread_num(); in main()
76 { int th = omp_get_thread_num(); in main()
80 { int th = omp_get_thread_num(); in main()
90 { int th = omp_get_thread_num(); in main()
H A Domp50_task_depend_mtx2.c52 int th = omp_get_thread_num(); in thunk()
97 int t = omp_get_thread_num(); in main()
99 { int th = omp_get_thread_num(); in main()
103 { int th = omp_get_thread_num(); in main()
107 { int th = omp_get_thread_num(); in main()
111 { int th = omp_get_thread_num(); in main()
115 { int th = omp_get_thread_num(); in main()
119 { int th = omp_get_thread_num(); in main()
143 { int th = omp_get_thread_num(); in main()
H A Domp50_task_depend_mtx.c52 int th = omp_get_thread_num(); in thunk()
97 int t = omp_get_thread_num(); in main()
99 { int th = omp_get_thread_num(); in main()
103 { int th = omp_get_thread_num(); in main()
107 { int th = omp_get_thread_num(); in main()
111 { int th = omp_get_thread_num(); in main()
115 { int th = omp_get_thread_num(); in main()
119 { int th = omp_get_thread_num(); in main()
140 { int th = omp_get_thread_num(); in main()
H A Domp51_task_dep_inoutset.c65 int th = omp_get_thread_num(); in thunk_m()
84 int th = omp_get_thread_num(); in thunk_s()
130 int t = omp_get_thread_num(); in main()
132 { int th = omp_get_thread_num(); in main()
149 { int th = omp_get_thread_num(); in main()
182 t = omp_get_thread_num(); in main()
184 { int th = omp_get_thread_num(); in main()
201 { int th = omp_get_thread_num(); in main()
235 { int th = omp_get_thread_num(); in main()
H A Domp_task_red_taskloop.c23 { int th_gen = omp_get_thread_num(); in bar()
27 printf("executing task (%d, 0), th %d (gen by th %d)\n", i, omp_get_thread_num(), th_gen); in bar()
32 printf("executing task (%d, 1), th %d (gen by th %d)\n", i, omp_get_thread_num(), th_gen); in bar()
38 int th_gen = omp_get_thread_num(); in foo()
47 printf("th %d (gen by th %d) passed bar%d in taskloop\n", omp_get_thread_num(), th_gen, i); in foo()
H A Dkmp_taskwait_depend_all.c78 th = omp_get_thread_num(); in thunk_m()
100 th = omp_get_thread_num(); in thunk_s()
147 int t = omp_get_thread_num(); in main()
154 int th = omp_get_thread_num(); in main()
172 th = omp_get_thread_num(); in main()
194 th = omp_get_thread_num(); in main()
238 th = omp_get_thread_num(); in main()
259 th = omp_get_thread_num(); in main()
300 th = omp_get_thread_num(); in main()
H A Dkmp_task_depend_all.c72 th = omp_get_thread_num(); in thunk_m()
94 th = omp_get_thread_num(); in thunk_s()
139 int t = omp_get_thread_num(); in main()
145 th = omp_get_thread_num(); in main()
167 th = omp_get_thread_num(); in main()
211 th = omp_get_thread_num(); in main()
232 th = omp_get_thread_num(); in main()
273 th = omp_get_thread_num(); in main()
H A Dkmp_taskwait_depend_in.c38 int t = omp_get_thread_num(); in main()
44 int th = omp_get_thread_num(); in main()
49 int th = omp_get_thread_num(); in main()
H A Dkmp_taskwait_nowait.c53 int t = omp_get_thread_num(); in main()
59 int th = omp_get_thread_num(); in main()
64 int th = omp_get_thread_num(); in main()
H A Dnested_parallel_tasking.c16 printf("Hello World from thread %d\n", omp_get_thread_num()); in main()
26 printf("%d is executing this task\n", omp_get_thread_num()); in main()
H A Domp_task_final.c28 tids[myi] = omp_get_thread_num(); in test_omp_task_final()
35 includedtids[included] = omp_get_thread_num(); in test_omp_task_final()
H A Domp_taskyield.c28 start_tid[myi] = omp_get_thread_num(); in test_omp_taskyield()
32 current_tid[myi] = omp_get_thread_num(); in test_omp_taskyield()
/llvm-project-15.0.7/flang/test/Semantics/OpenMP/
H A Domp-flush02.f9020 if (omp_get_thread_num() == 1) THEN
26 if (omp_get_thread_num() == 1) THEN
48 if (omp_get_thread_num() == 2) THEN
59 if (omp_get_thread_num() == 3) THEN
/llvm-project-15.0.7/openmp/runtime/test/api/
H A Domp_in_explicit_task.c20 omp_get_thread_num(), r); in main()
28 omp_get_thread_num(), r); in main()
37 omp_get_thread_num(), r); in main()
H A Domp_aligned_calloc.c25 int i = omp_get_thread_num(); in main()
45 int i = omp_get_thread_num(); in main()
64 int i = omp_get_thread_num(); in main()
H A Domp_aligned_alloc.c25 int i = omp_get_thread_num(); in main()
45 int i = omp_get_thread_num(); in main()
64 int i = omp_get_thread_num(); in main()
/llvm-project-15.0.7/openmp/tools/archer/tests/task/
H A Dtask_late_fulfill.c27 printf("%i: task 1\n", omp_get_thread_num()); in main()
33 printf("%i: task 2, %p, %i, %i\n", omp_get_thread_num(), f_event, a, b); in main()
38 printf("%i: calling omp_fulfill_event\n", omp_get_thread_num()); in main()
/llvm-project-15.0.7/openmp/runtime/test/affinity/format/
H A Dfields_modifiers.c43 int tid = omp_get_thread_num(); in check_thread_num_padded_rjustified()
62 int tid = omp_get_thread_num(); in check_thread_num_rjustified()
81 int tid = omp_get_thread_num(); in check_thread_num_ljustified()
100 int tid = omp_get_thread_num(); in check_thread_num_padded_ljustified()
/llvm-project-15.0.7/openmp/runtime/test/ompt/parallel/
H A Dregion_in_expl_task_task_frames.c11 if (omp_get_thread_num() == 0) { in main()
18 if (omp_get_thread_num() == 0) { in main()
/llvm-project-15.0.7/openmp/tools/archer/tests/barrier/
H A Dbarrier.c24 if (omp_get_thread_num() == 0) { in main()
30 if (omp_get_thread_num() == 1) { in main()
/llvm-project-15.0.7/openmp/libomptarget/test/api/
H A Domp_dynamic_shared_memory.c15 if (omp_get_thread_num() == 0) in main()
18 if (omp_get_thread_num() == 1) in main()
H A Domp_dynamic_shared_memory_amdgpu.c15 if (omp_get_thread_num() == 0) in main()
18 if (omp_get_thread_num() == 1) in main()
/llvm-project-15.0.7/openmp/runtime/test/master/
H A Domp_master_3.c18 int tid = omp_get_thread_num(); in test_omp_master_3()
27 executing_thread = omp_get_thread_num (); in test_omp_master_3()
/llvm-project-15.0.7/clang/test/OpenMP/
H A Ddebug_threadprivate_copyin.c20 extern int omp_get_thread_num(void);
39 tid = omp_get_thread_num(); in main()

12345