Home
last modified time | relevance | path

Searched refs:NUM_THREADS (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/openmp/runtime/test/misc_bugs/
H A Domp_foreign_thread_team_reuse.c5 #define NUM_THREADS 10 macro
47 pthread_t thread[NUM_THREADS]; in test_omp_team_reuse()
48 thread_arg_t thread_arg[NUM_THREADS]; in test_omp_team_reuse()
50 for(i = 0; i < NUM_THREADS; i++) { in test_omp_team_reuse()
62 int known_sum = (NUM_THREADS * (NUM_THREADS+1)) / 2; in test_omp_team_reuse()
/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Windows/
H A Dthread_stress.cpp15 const int NUM_THREADS = 8; in main() local
16 HANDLE thr[NUM_THREADS]; in main()
17 for (int i = 0; i < NUM_THREADS; ++i) { in main()
22 for (int i = 0; i < NUM_THREADS; ++i) { in main()
/llvm-project-15.0.7/compiler-rt/test/lsan/TestCases/
H A Dmany_tls_keys_thread.cpp16 static const int NUM_THREADS = 10; variable
49 pthread_t thread[NUM_THREADS]; in main()
50 for (int i = 0; i < NUM_THREADS; ++i) { in main()
54 while (finished < NUM_THREADS) in main()
H A Dmany_tls_keys_pthread.cpp20 static const int NUM_THREADS = 10; variable
66 pthread_t thread[NUM_THREADS]; in main()
67 for (int i = 0; i < NUM_THREADS; ++i) { in main()
71 while (finished < NUM_THREADS) in main()
/llvm-project-15.0.7/openmp/tools/archer/tests/worksharing/
H A Dordered.c20 #define NUM_THREADS 2 macro
26 #pragma omp parallel for ordered num_threads(NUM_THREADS) shared(var) in main()
27 for (i = 0; i < NUM_THREADS; i++) { in main()
/llvm-project-15.0.7/openmp/tools/archer/tests/races/
H A Dtask-two.c20 #define NUM_THREADS 8 macro
26 #pragma omp parallel for num_threads(NUM_THREADS) shared(var) \ in main()
28 for (i = 0; i < NUM_THREADS; i++) { in main()
/llvm-project-15.0.7/libc/test/integration/src/threads/
H A Dcall_once_test.cpp22 static constexpr unsigned int NUM_THREADS = 5; variable
42 thrd_t threads[NUM_THREADS]; in call_from_5_threads()
43 for (unsigned int i = 0; i < NUM_THREADS; ++i) { in call_from_5_threads()
48 for (unsigned int i = 0; i < NUM_THREADS; ++i) { in call_from_5_threads()
/llvm-project-15.0.7/compiler-rt/test/tsan/
H A Dcompare_exchange.cpp9 #define NUM_THREADS NUM_ORDS * 2 macro
13 std::atomic<node *> _nodes[NUM_THREADS] = {};
60 std::thread threads[NUM_THREADS]; in main()
/llvm-project-15.0.7/lldb/test/API/tools/lldb-server/
H A DTestLldbGdbServer.py424 NUM_THREADS = 3
429 for i in range(NUM_THREADS - 1):
447 for i in range(NUM_THREADS - 1):
/llvm-project-15.0.7/flang/docs/
H A DOpenMP-4.5-grammar.md369 2.5 num-threads-clause -> NUM_THREADS (scalar-int-expr)