Home
last modified time | relevance | path

Searched full:threads (Results 1 – 25 of 2108) sorted by relevance

12345678910>>...85

/llvm-project/openmp/runtime/test/ompt/parallel/
H A Dnested_thread_num.c2 // RUN: %libomp-compile-and-run | %sort-threads | FileCheck --check-prefix=THREADS %s
67 // Note that we cannot ensure that the worker threads have already called
77 // THREADS: {{^}}0: NULL_POINTER=[[NULL:.*$]]
78 // THREADS: __builtin_frame_address(0)=[[MAIN_REENTER:0x[0-f]+]]
79 // THREADS: {{^}}[[MASTER_ID:[0-9]+]]: ompt_event_parallel_begin:
80 // THREADS-SAME: parent_task_id=[[PARENT_TASK_ID:[0-9]+]],
81 // THREADS-SAME: parent_task_frame.exit=[[NULL]],
82 // THREADS-SAME: parent_task_frame.reenter=0x{{[0-f]+}},
83 // THREADS
[all...]
H A Dnormal.c2 // RUN: %libomp-compile-and-run | %sort-threads \
3 // RUN: | FileCheck --check-prefix=THREADS %s
25 // Only check callback names, arguments are verified in THREADS below. in main()
31 // Note that we cannot ensure that the worker threads have already called in main()
45 // THREADS: 0: NULL_POINTER=[[NULL:.*$]] in main()
46 // THREADS: {{^}}[[MASTER_ID:[0-9]+]]: ompt_event_thread_begin in main()
47 // THREADS-SAME: thread_type=ompt_thread_initial=1, thread_id=[[MASTER_ID]] in main()
48 // THREADS: {{^}}[[MASTER_ID]]: ompt_event_parallel_begin in main()
49 // THREADS-SAME: parent_task_id=[[PARENT_TASK_ID:[0-9]+]] in main()
50 // THREADS in main()
[all...]
H A Dnot_enough_threads.c2 // RUN: %libomp-compile && env OMP_THREAD_LIMIT=2 %libomp-run | %sort-threads \
3 // RUN: | FileCheck --check-prefix=THREADS %s
25 // Only check callback names, arguments are verified in THREADS below. in main()
31 // Note that we cannot ensure that the worker threads have already called in main()
39 // THREADS: 0: NULL_POINTER=[[NULL:.*$]] in main()
40 // THREADS: {{^}}[[MASTER_ID:[0-9]+]]: ompt_event_thread_begin in main()
41 // THREADS-SAME: thread_type=ompt_thread_initial=1, thread_id=[[MASTER_ID]] in main()
42 // THREADS: {{^}}[[MASTER_ID]]: ompt_event_parallel_begin in main()
43 // THREADS-SAME: parent_task_id=[[PARENT_TASK_ID:[0-9]+]] in main()
44 // THREADS in main()
[all...]
H A Dnested_lwt.c2 // RUN: %libomp-compile-and-run | %sort-threads | FileCheck --check-prefix=THREADS %s
62 // Note that we cannot ensure that the worker threads have already called barrier_end and implicit_task_end before parallel_end! in main()
76 // THREADS: 0: NULL_POINTER=[[NULL:.*$]] in main()
77 // THREADS: {{^}}[[MASTER_ID:[0-9]+]]: ompt_event_parallel_begin: parent_task_id=[[PARENT_TASK_ID:[0-9]+]], parent_task_frame.exit=[[NULL]], parent_task_frame.reenter=[[TASK_FRAME_ENTER:0x[0-f]+]], parallel_id=[[PARALLEL_ID:[0-9]+]], requested_team_size=4, codeptr_ra=[[RETURN_ADDRESS:0x[0-f]+]]{{[0-f][0-f]}}, invoker=[[PARALLEL_INVOKER:[0-9]+]] in main()
80 // THREADS: {{^}}[[MASTER_ID]]: ompt_event_implicit_task_begin: parallel_id=[[PARALLEL_ID]], task_id=[[IMPLICIT_TASK_ID:[0-9]+]] in main()
81 // THREADS: {{^}}[[MASTER_ID]]: task level 0: parallel_id=[[PARALLEL_ID]], task_id=[[IMPLICIT_TASK_ID]], exit_frame=[[NESTED_TASK_FRAME_EXIT:0x[0-f]+]], reenter_frame=[[NULL]] in main()
82 // THREADS: {{^}}[[MASTER_ID]]: task level 1: parallel_id=[[IMPLICIT_PARALLEL_ID:[0-9]+]], task_id=[[PARENT_TASK_ID]], exit_frame=[[NULL]], reenter_frame=[[TASK_FRAME_ENTER]] in main()
84 // THREADS: {{^}}[[MASTER_ID]]: ompt_event_parallel_begin: parent_task_id=[[IMPLICIT_TASK_ID]], parent_task_frame.exit=[[NESTED_TASK_FRAME_EXIT]], parent_task_frame.reenter=[[NESTED_TASK_FRAME_ENTER:0x[0-f]+]], parallel_id=[[NESTED_PARALLEL_ID:[0-9]+]], requested_team_size=1, codeptr_ra=[[NESTED_RETURN_ADDRESS:0x[0-f]+]]{{[0-f][0-f]}}, invoker=[[PARALLEL_INVOKER]] in main()
85 // THREADS in main()
[all...]
H A Dnested.c2 // RUN: %libomp-compile-and-run | %sort-threads | FileCheck --check-prefix=THREADS %s
66 // Note that we cannot ensure that the worker threads have already called barrier_end and implicit_task_end before parallel_end! in main()
81 // THREADS: {{^}}0: NULL_POINTER=[[NULL:.*$]] in main()
82 // THREADS: {{^}}[[MASTER_ID:[0-9]+]]: __builtin_frame_address(0)=[[MAIN_REENTER:0x[0-f]+]] in main()
83 // THREADS: {{^}}[[MASTER_ID]]: ompt_event_parallel_begin: parent_task_id=[[PARENT_TASK_ID:[0-9]+]], parent_task_frame.exit=[[NULL]], parent_task_frame.reenter=0x{{[0-f]+}}, parallel_id=[[PARALLEL_ID:[0-9]+]], requested_team_size=4, codeptr_ra=[[RETURN_ADDRESS:0x[0-f]+]]{{[0-f][0-f]}}, invoker=[[PARALLEL_INVOKER:[0-9]+]] in main()
86 // THREADS: {{^}}[[MASTER_ID]]: ompt_event_implicit_task_begin: parallel_id=[[PARALLEL_ID]], task_id=[[IMPLICIT_TASK_ID:[0-9]+]] in main()
87 // THREADS: {{^}}[[MASTER_ID]]: __builtin_frame_address({{.}})=[[EXIT:0x[0-f]+]] in main()
88 // THREADS: {{^}}[[MASTER_ID]]: task level 0: parallel_id=[[PARALLEL_ID]], task_id=[[IMPLICIT_TASK_ID]], exit_frame=[[EXIT]], reenter_frame=[[NULL]] in main()
89 // THREADS in main()
[all...]
H A Dnested_serialized.c2 // RUN: %libomp-compile-and-run | %sort-threads | FileCheck --check-prefix=THREADS %s
47 // Note that we cannot ensure that the worker threads have already called barrier_end and implicit_task_end before parallel_end! in main()
61 // THREADS: 0: NULL_POINTER=[[NULL:.*$]] in main()
62 // THREADS: {{^}}[[MASTER_ID:[0-9]+]]: ompt_event_parallel_begin: parent_task_id=[[PARENT_TASK_ID:[0-9]+]], parent_task_frame.exit=[[NULL]], parent_task_frame.reenter={{0x[0-f]+}}, parallel_id=[[PARALLEL_ID:[0-9]+]], requested_team_size=4, codeptr_ra=[[RETURN_ADDRESS:0x[0-f]+]]{{[0-f][0-f]}}, invoker=[[PARALLEL_INVOKER:[0-9]+]] in main()
64 // THREADS: {{^}}[[MASTER_ID]]: ompt_event_implicit_task_begin: parallel_id=[[PARALLEL_ID]], task_id=[[IMPLICIT_TASK_ID:[0-9]+]] in main()
65 // THREADS: {{^}}[[MASTER_ID]]: task level 0: parallel_id=[[PARALLEL_ID]], task_id=[[IMPLICIT_TASK_ID]] in main()
66 // THREADS: {{^}}[[MASTER_ID]]: task level 1: parallel_id=[[IMPLICIT_PARALLEL_ID:[0-9]+]], task_id=[[PARENT_TASK_ID]] in main()
67 // THREADS: {{^}}[[MASTER_ID]]: ompt_event_parallel_begin: parent_task_id=[[IMPLICIT_TASK_ID]], parent_task_frame.exit={{0x[0-f]+}}, parent_task_frame.reenter={{0x[0-f]+}}, parallel_id=[[NESTED_PARALLEL_ID:[0-9]+]], requested_team_size=4, codeptr_ra=[[NESTED_RETURN_ADDRESS:0x[0-f]+]]{{[0-f][0-f]}}, invoker=[[PARALLEL_INVOKER]] in main()
68 // THREADS in main()
[all...]
H A Dno_thread_num_clause.c2 // RUN: %libomp-compile-and-run | %sort-threads | FileCheck --check-prefix=THREADS %s
39 // Note that we cannot ensure that the worker threads have already called barrier_end and implicit_task_end before parallel_end! in main()
53 // THREADS: 0: NULL_POINTER=[[NULL:.*$]] in main()
54 // THREADS: {{^}}[[MASTER_ID:[0-9]+]]: ompt_event_thread_begin: thread_type=ompt_thread_initial=1, thread_id=[[MASTER_ID]] in main()
55 // THREADS: {{^}}[[MASTER_ID:[0-9]+]]: ompt_event_initial_task_begin: parallel_id={{[0-9]+}}, task_id={{[0-9]+}}, actual_parallelism=1, index=1, flags=1 in main()
57 // THREADS: {{^}}[[MASTER_ID]]: ompt_event_parallel_begin: parent_task_id=[[PARENT_TASK_ID:[0-9]+]], parent_task_frame.exit=[[NULL]], parent_task_frame.reenter={{0x[0-f]+}}, parallel_id=[[PARALLEL_ID:[0-9]+]], requested_team_size=4, codeptr_ra=[[RETURN_ADDRESS:0x[0-f]+]]{{[0-f][0-f]}}, invoker={{[0-9]+}} in main()
59 // THREADS: {{^}}[[MASTER_ID]]: ompt_event_implicit_task_begin: parallel_id=[[PARALLEL_ID]], task_id=[[IMPLICIT_TASK_ID:[0-9]+]] in main()
60 // THREADS: {{^}}[[MASTER_ID]]: task level 0: parallel_id=[[PARALLEL_ID]], task_id=[[IMPLICIT_TASK_ID]] in main()
61 // THREADS in main()
[all...]
H A Dmax_active_levels_serialized.c2 // RUN: %libomp-compile-and-run | %sort-threads | FileCheck --check-prefix=THREADS %s
35 // THREADS: 0: NULL_POINTER=[[NULL:.*$]] in main()
42 …// THREADS: {{^}}[[MASTER_ID:[0-9]+]]: ompt_event_parallel_begin: parent_task_id=[[PARENT_TASK_ID:… in main()
44 …// THREADS: {{^}}[[MASTER_ID]]: ompt_event_implicit_task_begin: parallel_id=[[PARALLEL_ID]], task_… in main()
45 …// THREADS: {{^}}[[MASTER_ID]]: task level 0: parallel_id=[[PARALLEL_ID]], task_id=[[IMPLICIT_TASK… in main()
46 …// THREADS: {{^}}[[MASTER_ID]]: task level 1: parallel_id=[[IMPLICIT_PARALLEL_ID:[0-9]+]], task_id… in main()
47 …// THREADS: {{^}}[[MASTER_ID]]: ompt_event_parallel_begin: parent_task_id=[[IMPLICIT_TASK_ID]], pa… in main()
48 …// THREADS: {{^}}[[MASTER_ID]]: ompt_event_implicit_task_begin: parallel_id=[[NESTED_PARALLEL_ID]]… in main()
49 …// THREADS: {{^}}[[MASTER_ID]]: task level 0: parallel_id=[[NESTED_PARALLEL_ID]], task_id=[[NESTED… in main()
50 …// THREADS: {{^}}[[MASTER_ID]]: task level 1: parallel_id=[[PARALLEL_ID]], task_id=[[IMPLICIT_TASK… in main()
[all …]
/llvm-project/libc/test/integration/src/threads/
H A DCMakeLists.txt1 add_libc_integration_test_suite(libc-threads-integration-tests)
6 libc-threads-integration-tests
10 libc.include.threads
12 libc.src.threads.mtx_destroy
13 libc.src.threads.mtx_init
14 libc.src.threads.mtx_lock
15 libc.src.threads.mtx_unlock
16 libc.src.threads.thrd_create
17 libc.src.threads.thrd_join
23 libc-threads-integration-tests
[all …]
H A Dcnd_test.cpp10 #include "src/threads/cnd_broadcast.h"
11 #include "src/threads/cnd_destroy.h"
12 #include "src/threads/cnd_init.h"
13 #include "src/threads/cnd_signal.h"
14 #include "src/threads/cnd_wait.h"
15 #include "src/threads/mtx_destroy.h"
16 #include "src/threads/mtx_init.h"
17 #include "src/threads/mtx_lock.h"
18 #include "src/threads/mtx_unlock.h"
19 #include "src/threads/thrd_create.h"
[all …]
/llvm-project/libc/src/threads/
H A DCMakeLists.txt12 libc.include.threads
13 libc.src.__support.threads.callonce
23 libc.src.__support.threads.thread
24 libc.include.threads
39 libc.include.threads
40 libc.src.__support.threads.thread
50 libc.include.threads
51 libc.src.__support.threads.thread
61 libc.include.threads
62 libc.src.__support.threads
[all...]
/llvm-project/lldb/test/API/tools/lldb-server/vCont-threads/
H A DTestSignal.py23 threads = self.parse_threadinfo_packets(context)
24 self.assertIsNotNone(threads)
25 self.assertEqual(len(threads), num + 1)
28 return threads
32 def send_and_check_signal(self, vCont_data, threads): argument
47 self.assertEqual(sorted(tids), sorted(threads))
68 threads = self.start_threads(1)
70 "C{0:x}".format(lldbutil.get_signal_number("SIGUSR1")), threads
81 threads = self.start_threads(1)
82 # try sending a signal to one of the two threads
[all …]
/llvm-project/third-party/benchmark/test/
H A Dinternal_threading_test.cc46 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(1);
47 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(1)->UseRealTime();
48 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(1)->UseManualTime();
49 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(1)->MeasureProcessCPUTime();
52 ->Threads(1)
57 ->Threads(1)
61 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(2);
62 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(2)->UseRealTime();
63 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(2)->UseManualTime();
64 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(2)->MeasureProcessCPUTime();
[all …]
H A Duser_counters_tabular_test.cc17 …{"^BM_Counters_Tabular/repeats:2/threads:1 %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat …
18 …{"^BM_Counters_Tabular/repeats:2/threads:1 %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat …
19 …{"^BM_Counters_Tabular/repeats:2/threads:1_mean %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrf…
20 …{"^BM_Counters_Tabular/repeats:2/threads:1_median %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%h…
21 …{"^BM_Counters_Tabular/repeats:2/threads:1_stddev %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%h…
22 …{"^BM_Counters_Tabular/repeats:2/threads:1_cv %console_percentage_report [ ]*%percentage[ ]*% [ ]*…
23 …{"^BM_Counters_Tabular/repeats:2/threads:2 %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat …
24 …{"^BM_Counters_Tabular/repeats:2/threads:2 %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat …
25 …{"^BM_Counters_Tabular/repeats:2/threads:2_mean %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrf…
26 …{"^BM_Counters_Tabular/repeats:2/threads:2_median %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%h…
[all …]
H A Dskip_with_error_test.cc102 if (state.range(0) == 1 && state.thread_index() <= (state.threads() / 2)) { in BM_error_during_running()
113 ADD_CASES("BM_error_during_running", {{"/1/threads:1", true, "error message"},
114 {"/1/threads:2", true, "error message"},
115 {"/1/threads:4", true, "error message"},
116 {"/1/threads:8", true, "error message"},
117 {"/2/threads:1", false, ""},
118 {"/2/threads:2", false, ""},
119 {"/2/threads:4", false, ""},
120 {"/2/threads:8", false, ""}});
149 if (state.thread_index() <= (state.threads() / 2)) in BM_error_after_running()
[all …]
/llvm-project/libc/src/threads/linux/
H A DCMakeLists.txt7 libc.include.threads
11 libc.src.__support.threads.mutex
12 libc.src.__support.threads.linux.raw_mutex
13 libc.src.__support.threads.linux.futex_utils
23 libc.include.threads
24 libc.src.__support.threads.CndVar
34 libc.include.threads
35 libc.src.__support.threads.CndVar
45 libc.include.threads
46 libc.src.__support.threads.mutex
[all …]
/llvm-project/libc/src/pthread/
H A DCMakeLists.txt284 libc.src.__support.threads.mutex
295 libc.src.__support.threads.mutex
306 libc.src.__support.threads.mutex
317 libc.src.__support.threads.mutex
328 libc.src.__support.threads.thread
348 libc.src.__support.threads.thread
359 libc.src.__support.threads.thread
370 libc.src.__support.threads.thread
381 libc.src.__support.threads.thread
392 libc.src.__support.threads
[all...]
/llvm-project/openmp/runtime/test/affinity/
H A Dkmp-abs-hw-subset.c2 // RUN: env OMP_PLACES=threads %libomp-run 1 0
3 // RUN: env OMP_PLACES=threads %libomp-run 1 1
4 // RUN: env OMP_PLACES=threads %libomp-run 2 1
5 // RUN: env OMP_PLACES=threads %libomp-run 2 2
6 // RUN: env OMP_PLACES=threads %libomp-run 3 1
7 // RUN: env OMP_PLACES=threads %libomp-run 3 2
10 // The test requires topologies with sockets, cores, threads layers where
11 // the socket layer contains multiple threads.
51 place_list_t *threads, *openmp_places; in check_places() local
52 threads = topology_alloc_type_places(TOPOLOGY_OBJ_THREAD); in check_places()
[all …]
/llvm-project/llvm/docs/
H A DConvergentOperations.rst12 Some parallel execution environments execute threads in groups that allow
15 the set of threads that executes it "together", i.e., convergently. When control
16 flow :ref:`diverges <convergence-and-uniformity>`, i.e. threads of the same
18 paths through the CFG, not all threads of the group may be available to
23 that occurs outside of the memory model, where the set of threads which
27 convergent operation is expected to occur precisely among those threads of an
41 unambiguous way of determining the threads that are expected to communicate.
45 of communicating threads for convergent operations.
48 threads are formed in the first place. It focuses on the questions that are
58 In LLVM IR, the only way to communicate between threads as described
[all …]
/llvm-project/llvm/test/tools/llvm-cov/
H A Dmultithreaded-report.test1 # Test "report" command with and without multiple threads.
3 RUN: llvm-cov report -num-threads=1 \
8 RUN: llvm-cov report -num-threads=10 \
15 # Test "export" command with and without multiple threads.
16 RUN: llvm-cov export -num-threads=1 \
21 RUN: llvm-cov export -num-threads=10 \
28 # Test "show" command with and without multiple threads, single text file.
29 RUN: llvm-cov show -format=text -num-threads=1 \
34 RUN: llvm-cov show -format=text -num-threads=10 \
41 # Test "show" command with and without multiple threads, single HTML file.
[all …]
/llvm-project/lldb/test/API/lang/c/stepping/
H A DTestStepAndBreakpoints.py65 threads = lldbutil.get_threads_stopped_at_breakpoint(process, break_1_in_main)
67 if len(threads) != 1:
70 thread = threads[0]
79 threads = lldbutil.get_threads_stopped_at_breakpoint(process, break_in_a)
80 if len(threads) != 1:
87 thread = threads[0]
92 threads = lldbutil.get_threads_stopped_at_breakpoint(process, break_in_b)
93 if len(threads) != 1:
95 thread = threads[0]
206 threads
[all...]
/llvm-project/compiler-rt/test/tsan/
H A Dcompare_exchange.cpp60 std::thread threads[NUM_THREADS]; in main() local
66 threads[t] = std::thread(f1, t); in main()
67 threads[t + 1] = std::thread(f2<0>, t, OrdList[ords].mo, OrdList[ords].fmo); in main()
68 threads[t].join(); in main()
69 threads[t + 1].join(); in main()
74 threads[t] = std::thread(f1, t); in main()
75 threads[t + 1] = std::thread(f2<1>, t, OrdList[ords].mo, OrdList[ords].fmo); in main()
76 threads[t].join(); in main()
77 threads[t + 1].join(); in main()
82 threads[t] = std::thread(f1, t); in main()
[all …]
/llvm-project/lldb/test/API/lang/objc/objc-stepping/
H A DTestObjCStepping.py91 threads = lldbutil.get_threads_stopped_at_breakpoint(process, break1)
92 if len(threads) != 1:
95 thread = threads[0]
129 threads = lldbutil.continue_to_breakpoint(process, break2)
130 self.assertEqual(len(threads), 1, "Continued to second breakpoint in main.")
134 thread = threads[0]
143 threads = lldbutil.continue_to_breakpoint(
147 len(threads), 1, "Stepped to the call super line in Source returnsStruct."
149 thread = threads[0]
163 threads = lldbutil.continue_to_breakpoint(process, break3)
[all …]
/llvm-project/lldb/test/API/macosx/thread_suspend/
H A DTestInternalThreadSuspension.py2 Make sure that if threads are suspended outside of lldb, debugserver
19 on other threads, or calling functions both on the suspended thread and
20 on other threads."""
76 threads = lldbutil.continue_to_breakpoint(process, rt_bp)
77 self.assertEqual(len(threads), 1, "Hit the running_func breakpoint")
85 self.try_an_expression(threads[0], 0, st_bp)
88 threads = lldbutil.continue_to_breakpoint(process, rt_bp)
89 self.assertEqual(len(threads), 1, "We didn't hit running breakpoint")
93 for thread in process.threads:
105 threads = lldbutil.continue_to_breakpoint(process, rt_exit_bp)
[all …]
/llvm-project/libcxxabi/test/
H A Dguard_threaded_test.pass.cpp10 // UNSUPPORTED: no-threads
30 // ThreadsPerTest - The number of threads used
163 threads.emplace_back(std::forward<Args>(args)...); in Create()
179 for (auto& t : threads) { in JoinAll()
185 std::vector<std::thread> threads; member
193 ThreadGroup threads; in test_free_for_all() local
196 threads.CreateThreadsWithBarrier(num_waiters, in test_free_for_all()
203 // wait for the other threads to finish initialization. in test_free_for_all()
204 threads.JoinAll(); in test_free_for_all()
214 ThreadGroup threads; in test_waiting_for_init() local
[all …]

12345678910>>...85