| /llvm-project-15.0.7/clang/test/OpenMP/ |
| H A D | parallel_num_threads_messages.cpp | 14 #define redef_num_threads(a, b) num_threads(a) 19 #pragma omp parallel num_threads // expected-error {{expected '(' after 'num_threads'}} in tmain() 21 #pragma omp parallel num_threads () // expected-error {{expected expression}} in tmain() 25 …#pragma omp parallel num_threads (foobool(argc)), num_threads (true), num_threads (-5) // expected… in tmain() 26 #pragma omp parallel num_threads (S) // expected-error {{'S' does not refer to a value}} in tmain() 28 #pragma omp parallel num_threads (argc+z) in tmain() 38 #pragma omp parallel num_threads // expected-error {{expected '(' after 'num_threads'}} in main() 40 #pragma omp parallel num_threads () // expected-error {{expected expression}} in main() 43 #pragma omp parallel num_threads (argc > 0 ? argv[1] : argv[2]) // expected-error {{integral }} in main() 44 …#pragma omp parallel num_threads (foobool(argc)), num_threads (true), num_threads (-5) // expected… in main() [all …]
|
| H A D | parallel_sections_num_threads_messages.cpp | 17 #pragma omp parallel sections num_threads // expected-error {{expected '(' after 'num_threads'}} in tmain() 21 #pragma omp parallel sections num_threads () // expected-error {{expected expression}} in tmain() 23 …#pragma omp parallel sections num_threads (argc // expected-error {{expected ')'}} expected-note {… in tmain() 29 …#pragma omp parallel sections num_threads (foobool(argc)), num_threads (true), num_threads (-5) //… in tmain() 31 #pragma omp parallel sections num_threads (S) // expected-error {{'S' does not refer to a value}} in tmain() 35 #pragma omp parallel sections num_threads (argc + z) in tmain() 45 #pragma omp parallel sections num_threads // expected-error {{expected '(' after 'num_threads'}} in main() 49 #pragma omp parallel sections num_threads () // expected-error {{expected expression}} in main() 55 …#pragma omp parallel sections num_threads (argc > 0 ? argv[1] : argv[2]) // expected-error {{integ… in main() 57 …#pragma omp parallel sections num_threads (foobool(argc)), num_threads (true), num_threads (-5) //… in main() [all …]
|
| H A D | parallel_master_num_threads_messages.cpp | 17 #pragma omp parallel master num_threads // expected-error {{expected '(' after 'num_threads'}} in tmain() 21 #pragma omp parallel master num_threads () // expected-error {{expected expression}} in tmain() 23 …#pragma omp parallel master num_threads (argc // expected-error {{expected ')'}} expected-note {{t… in tmain() 29 …#pragma omp parallel master num_threads (foobool(argc)), num_threads (true), num_threads (-5) // e… in tmain() 31 #pragma omp parallel master num_threads (S) // expected-error {{'S' does not refer to a value}} in tmain() 35 #pragma omp parallel master num_threads (argc + z) in tmain() 45 #pragma omp parallel master num_threads // expected-error {{expected '(' after 'num_threads'}} in main() 49 #pragma omp parallel master num_threads () // expected-error {{expected expression}} in main() 55 …#pragma omp parallel master num_threads (argc > 0 ? argv[1] : argv[2]) // expected-error {{integra… in main() 57 …#pragma omp parallel master num_threads (foobool(argc)), num_threads (true), num_threads (-5) // e… in main() [all …]
|
| H A D | parallel_masked_num_threads_messages.cpp | 17 #pragma omp parallel masked num_threads // expected-error {{expected '(' after 'num_threads'}} in tmain() 21 #pragma omp parallel masked num_threads () // expected-error {{expected expression}} in tmain() 23 …#pragma omp parallel masked num_threads (argc // expected-error {{expected ')'}} expected-note {{t… in tmain() 29 …#pragma omp parallel masked num_threads (foobool(argc)), num_threads (true), num_threads (-5) // e… in tmain() 31 #pragma omp parallel masked num_threads (S) // expected-error {{'S' does not refer to a value}} in tmain() 35 #pragma omp parallel masked num_threads (argc + z) in tmain() 45 #pragma omp parallel masked num_threads // expected-error {{expected '(' after 'num_threads'}} in main() 49 #pragma omp parallel masked num_threads () // expected-error {{expected expression}} in main() 55 …#pragma omp parallel masked num_threads (argc > 0 ? argv[1] : argv[2]) // expected-error {{integra… in main() 57 …#pragma omp parallel masked num_threads (foobool(argc)), num_threads (true), num_threads (-5) // e… in main() [all …]
|
| H A D | target_parallel_num_threads_messages.cpp | 14 #define redef_num_threads(a, b) num_threads(a) 19 #pragma omp target parallel num_threads // expected-error {{expected '(' after 'num_threads'}} in tmain() 23 #pragma omp target parallel num_threads () // expected-error {{expected expression}} in tmain() 31 …#pragma omp target parallel num_threads (foobool(argc)), num_threads (true), num_threads (-5) // e… in tmain() 33 #pragma omp target parallel num_threads (S) // expected-error {{'S' does not refer to a value}} in tmain() 37 #pragma omp target parallel num_threads (argc + z) in tmain() 49 #pragma omp target parallel num_threads // expected-error {{expected '(' after 'num_threads'}} in main() 53 #pragma omp target parallel num_threads () // expected-error {{expected expression}} in main() 59 …#pragma omp target parallel num_threads (argc > 0 ? argv[1] : argv[2]) // expected-error {{integra… in main() 61 …#pragma omp target parallel num_threads (foobool(argc)), num_threads (true), num_threads (-5) // e… in main() [all …]
|
| H A D | parallel_for_num_threads_messages.cpp | 17 #pragma omp parallel for num_threads // expected-error {{expected '(' after 'num_threads'}} in tmain() 21 #pragma omp parallel for num_threads () // expected-error {{expected expression}} in tmain() 23 …#pragma omp parallel for num_threads (argc // expected-error {{expected ')'}} expected-note {{to m… in tmain() 29 …#pragma omp parallel for num_threads (foobool(argc)), num_threads (true), num_threads (-5) // expe… in tmain() 31 #pragma omp parallel for num_threads (S) // expected-error {{'S' does not refer to a value}} in tmain() 35 #pragma omp parallel for num_threads (argc+z) in tmain() 45 #pragma omp parallel for num_threads // expected-error {{expected '(' after 'num_threads'}} in main() 49 #pragma omp parallel for num_threads () // expected-error {{expected expression}} in main() 55 …#pragma omp parallel for num_threads (argc > 0 ? argv[1] : argv[2]) // expected-error {{integral }} in main() 57 …#pragma omp parallel for num_threads (foobool(argc)), num_threads (true), num_threads (-5) // expe… in main() [all …]
|
| H A D | target_parallel_for_num_threads_messages.cpp | 17 #pragma omp target parallel for num_threads // expected-error {{expected '(' after 'num_threads'}} in tmain() 21 #pragma omp target parallel for num_threads () // expected-error {{expected expression}} in tmain() 23 …#pragma omp target parallel for num_threads (argc // expected-error {{expected ')'}} expected-note… in tmain() 29 …#pragma omp target parallel for num_threads (foobool(argc)), num_threads (true), num_threads (-5) … in tmain() 31 …#pragma omp target parallel for num_threads (S) // expected-error {{'S' does not refer to a value}} in tmain() 35 #pragma omp target parallel for num_threads (argc) in tmain() 45 #pragma omp target parallel for num_threads // expected-error {{expected '(' after 'num_threads'}} in main() 49 #pragma omp target parallel for num_threads () // expected-error {{expected expression}} in main() 55 …#pragma omp target parallel for num_threads (argc > 0 ? argv[1] : argv[2]) // expected-error {{int… in main() 57 …#pragma omp target parallel for num_threads (foobool(argc)), num_threads (true), num_threads (-5) … in main() [all …]
|
| H A D | parallel_for_simd_num_threads_messages.cpp | 17 #pragma omp parallel for simd num_threads // expected-error {{expected '(' after 'num_threads'}} in tmain() 21 #pragma omp parallel for simd num_threads () // expected-error {{expected expression}} in tmain() 23 …#pragma omp parallel for simd num_threads (argc // expected-error {{expected ')'}} expected-note {… in tmain() 29 …#pragma omp parallel for simd num_threads (foobool(argc)), num_threads (true), num_threads (-5) //… in tmain() 31 #pragma omp parallel for simd num_threads (S) // expected-error {{'S' does not refer to a value}} in tmain() 35 #pragma omp parallel for simd num_threads (argc + z) in tmain() 45 #pragma omp parallel for simd num_threads // expected-error {{expected '(' after 'num_threads'}} in main() 49 #pragma omp parallel for simd num_threads () // expected-error {{expected expression}} in main() 55 …#pragma omp parallel for simd num_threads (argc > 0 ? argv[1] : argv[2]) // expected-error {{integ… in main() 57 …#pragma omp parallel for simd num_threads (foobool(argc)), num_threads (true), num_threads (-5) //… in main() [all …]
|
| H A D | target_parallel_for_simd_num_threads_messages.cpp | 17 …#pragma omp target parallel for simd num_threads // expected-error {{expected '(' after 'num_threa… in tmain() 21 #pragma omp target parallel for simd num_threads () // expected-error {{expected expression}} in tmain() 23 …#pragma omp target parallel for simd num_threads (argc // expected-error {{expected ')'}} expected… in tmain() 29 …#pragma omp target parallel for simd num_threads (foobool(argc)), num_threads (true), num_threads … in tmain() 31 …#pragma omp target parallel for simd num_threads (S) // expected-error {{'S' does not refer to a v… in tmain() 35 #pragma omp target parallel for simd num_threads (argc) in tmain() 45 …#pragma omp target parallel for simd num_threads // expected-error {{expected '(' after 'num_threa… in main() 49 #pragma omp target parallel for simd num_threads () // expected-error {{expected expression}} in main() 55 …#pragma omp target parallel for simd num_threads (argc > 0 ? argv[1] : argv[2]) // expected-error … in main() 57 …#pragma omp target parallel for simd num_threads (foobool(argc)), num_threads (true), num_threads … in main() [all …]
|
| H A D | target_teams_distribute_parallel_for_num_threads_messages.cpp | 17 #pragma omp target teams distribute parallel for num_threads // expected-error {{expected '(' after… in tmain() 21 #pragma omp target teams distribute parallel for num_threads () // expected-error {{expected expres… in tmain() 29 …agma omp target teams distribute parallel for num_threads (foobool(argc)), num_threads (true), num… in tmain() 31 #pragma omp target teams distribute parallel for num_threads (S) // expected-error {{'S' does not r… in tmain() 35 #pragma omp target teams distribute parallel for num_threads (argc) in tmain() 45 #pragma omp target teams distribute parallel for num_threads // expected-error {{expected '(' after… in main() 49 #pragma omp target teams distribute parallel for num_threads () // expected-error {{expected expres… in main() 55 #pragma omp target teams distribute parallel for num_threads (argc > 0 ? argv[1] : argv[2]) // expe… in main() 57 …agma omp target teams distribute parallel for num_threads (foobool(argc)), num_threads (true), num… in main() 59 #pragma omp target teams distribute parallel for num_threads (S1) // expected-error {{'S1' does not… in main() [all …]
|
| H A D | target_teams_distribute_parallel_for_simd_num_threads_messages.cpp | 17 #pragma omp target teams distribute parallel for simd num_threads // expected-error {{expected '(' … in tmain() 21 #pragma omp target teams distribute parallel for simd num_threads () // expected-error {{expected e… in tmain() 29 …omp target teams distribute parallel for simd num_threads (foobool(argc)), num_threads (true), num… in tmain() 31 #pragma omp target teams distribute parallel for simd num_threads (S) // expected-error {{'S' does … in tmain() 35 #pragma omp target teams distribute parallel for simd num_threads (argc + k) in tmain() 45 #pragma omp target teams distribute parallel for simd num_threads // expected-error {{expected '(' … in main() 49 #pragma omp target teams distribute parallel for simd num_threads () // expected-error {{expected e… in main() 55 #pragma omp target teams distribute parallel for simd num_threads (argc > 0 ? argv[1] : argv[2]) //… in main() 57 …omp target teams distribute parallel for simd num_threads (foobool(argc)), num_threads (true), num… in main() 59 #pragma omp target teams distribute parallel for simd num_threads (S1) // expected-error {{'S1' doe… in main() [all …]
|
| H A D | distribute_parallel_for_num_threads_messages.cpp | 19 #pragma omp distribute parallel for num_threads // expected-error {{expected '(' after 'num_threads… in tmain() 27 #pragma omp distribute parallel for num_threads () // expected-error {{expected expression}} in tmain() 31 #pragma omp distribute parallel for num_threads (argc // expected-error {{expected ')'}} expected-n… in tmain() 43 #pragma omp distribute parallel for num_threads (foobool(argc)), num_threads (true), num_threads (-… in tmain() 47 #pragma omp distribute parallel for num_threads (S) // expected-error {{'S' does not refer to a val… in tmain() 55 #pragma omp distribute parallel for num_threads (argc + z) in tmain() 69 #pragma omp distribute parallel for num_threads // expected-error {{expected '(' after 'num_threads… in main() 77 #pragma omp distribute parallel for num_threads () // expected-error {{expected expression}} in main() 89 #pragma omp distribute parallel for num_threads (argc > 0 ? argv[1] : argv[2]) // expected-error {{… in main() 93 #pragma omp distribute parallel for num_threads (foobool(argc)), num_threads (true), num_threads (-… in main() [all …]
|
| H A D | teams_distribute_parallel_for_simd_num_threads_messages.cpp | 18 #pragma omp teams distribute parallel for simd num_threads // expected-error {{expected '(' after '… in tmain() 24 #pragma omp teams distribute parallel for simd num_threads () // expected-error {{expected expressi… in tmain() 27 #pragma omp teams distribute parallel for simd num_threads (argc // expected-error {{expected ')'}}… in tmain() 36 …pragma omp teams distribute parallel for simd num_threads (foobool(argc)), num_threads (true), num… in tmain() 39 #pragma omp teams distribute parallel for simd num_threads (S) // expected-error {{'S' does not ref… in tmain() 45 #pragma omp teams distribute parallel for simd num_threads (argc) in tmain() 57 #pragma omp teams distribute parallel for simd num_threads // expected-error {{expected '(' after '… in main() 63 #pragma omp teams distribute parallel for simd num_threads () // expected-error {{expected expressi… in main() 72 #pragma omp teams distribute parallel for simd num_threads (argc > 0 ? argv[1] : argv[2]) // expect… in main() 75 …pragma omp teams distribute parallel for simd num_threads (foobool(argc)), num_threads (true), num… in main() [all …]
|
| H A D | distribute_parallel_for_simd_num_threads_messages.cpp | 19 #pragma omp distribute parallel for simd num_threads // expected-error {{expected '(' after 'num_th… in tmain() 27 #pragma omp distribute parallel for simd num_threads () // expected-error {{expected expression}} in tmain() 31 #pragma omp distribute parallel for simd num_threads (argc // expected-error {{expected ')'}} expec… in tmain() 43 #pragma omp distribute parallel for simd num_threads (foobool(argc)), num_threads (true), num_threa… in tmain() 47 #pragma omp distribute parallel for simd num_threads (S) // expected-error {{'S' does not refer to … in tmain() 55 #pragma omp distribute parallel for simd num_threads (argc) in tmain() 69 #pragma omp distribute parallel for simd num_threads // expected-error {{expected '(' after 'num_th… in main() 77 #pragma omp distribute parallel for simd num_threads () // expected-error {{expected expression}} in main() 89 #pragma omp distribute parallel for simd num_threads (argc > 0 ? argv[1] : argv[2]) // expected-err… in main() 93 #pragma omp distribute parallel for simd num_threads (foobool(argc)), num_threads (true), num_threa… in main() [all …]
|
| H A D | target_parallel_num_threads_codegen.cpp | 88 #pragma omp target parallel num_threads(tx(20)) in ftemplate() 93 #pragma omp target parallel num_threads(b) in ftemplate() 104 #pragma omp target parallel num_threads(n) in fstatic() 108 #pragma omp target parallel num_threads(32+n) in fstatic() 121 #pragma omp target parallel num_threads(n-b) in r1() 126 #pragma omp target parallel num_threads(1024) in r1()
|
| H A D | parallel_num_threads_codegen.cpp | 31 #pragma omp parallel num_threads(C) in tmain() 33 #pragma omp parallel num_threads(T(23)) in tmain() 41 #pragma omp parallel num_threads(2) in main() 43 #pragma omp parallel num_threads(a) in main()
|
| /llvm-project-15.0.7/compiler-rt/test/lsan/TestCases/ |
| H A D | high_allocator_contention.cpp | 10 int num_threads; variable 23 for (int i = 0; i < total_num_alloc / num_threads; i++) { in thread_fun() 33 num_threads = atoi(argv[1]); in main() 34 assert(num_threads > 0); in main() 35 assert(num_threads <= kMaxNumThreads); in main() 38 printf("%d threads, %d allocations in each\n", num_threads, in main() 39 total_num_alloc / num_threads); in main() 40 for (int i = 0; i < num_threads; i++) in main() 46 for (int i = 0; i < num_threads; i++) pthread_join(tid[i], 0); in main()
|
| /llvm-project-15.0.7/compiler-rt/test/scudo/ |
| H A D | threads.c | 16 int num_threads; variable 30 for (int i = 0; i < total_num_alloc / num_threads; i++) { in thread_fun() 43 num_threads = atoi(argv[1]); in main() 44 assert(num_threads > 0); in main() 45 assert(num_threads <= kMaxNumThreads); in main() 49 printf("%d threads, %d allocations in each\n", num_threads, in main() 50 total_num_alloc / num_threads); in main() 55 for (int i = 0; i < num_threads; i++) in main() 61 for (int i = 0; i < num_threads; i++) in main()
|
| /llvm-project-15.0.7/lldb/tools/debugserver/source/MacOSX/ |
| H A D | MachThreadList.cpp | 121 const size_t num_threads = m_threads.size(); in GetThreadByID() local 135 const size_t num_threads = m_threads.size(); in GetThreadByMachPortNumber() local 149 const size_t num_threads = m_threads.size(); in GetThreadIDByMachPortNumber() local 162 const size_t num_threads = m_threads.size(); in GetMachPortNumberByThreadID() local 368 const size_t num_threads = m_threads.size(); in Dump() local 413 const size_t num_threads = m_threads.size(); in ProcessWillResume() local 456 return num_threads; in ProcessDidStop() 471 const size_t num_threads = m_threads.size(); in ShouldStop() local 480 const size_t num_threads = m_threads.size(); in NotifyBreakpointChanged() local 493 const size_t num_threads = m_threads.size(); in DoHardwareBreakpointAction() local [all …]
|
| /llvm-project-15.0.7/openmp/runtime/test/worksharing/for/ |
| H A D | omp_parallel_for_if.c | 9 int num_threads; in test_omp_parallel_for_if() local 15 num_threads=0; in test_omp_parallel_for_if() 21 num_threads = omp_get_num_threads(); in test_omp_parallel_for_if() 27 " omp_get_num_threads: %d\n", num_threads); in test_omp_parallel_for_if() 28 return (known_sum == sum && num_threads == 1); in test_omp_parallel_for_if()
|
| /llvm-project-15.0.7/openmp/libomptarget/test/offloading/ |
| H A D | looptripcnt.c | 14 int num_threads[NN]; in main() local 19 num_threads[j] = omp_get_num_threads(); in main() 22 printf("num_threads %d num_teams %d\n", num_threads[0], num_teams[0]); in main() 27 num_threads[j] = omp_get_num_threads(); in main() 30 printf("num_threads %d num_teams %d\n", num_threads[0], num_teams[0]); in main()
|
| /llvm-project-15.0.7/openmp/runtime/test/env/ |
| H A D | omp_thread_limit.c | 18 int num_threads = omp_get_num_threads(); in verify() local 19 if (team_size != num_threads) { in verify() 26 label, team_size, num_threads); in verify() 63 #pragma omp parallel num_threads(3) in main() 67 #pragma omp parallel num_threads(21) in main()
|
| /llvm-project-15.0.7/openmp/runtime/test/parallel/ |
| H A D | omp_parallel_firstprivate.c | 10 int sum, num_threads,sum1; in test_omp_parallel_firstprivate() local 15 num_threads = 0; in test_omp_parallel_firstprivate() 28 num_threads++; in test_omp_parallel_firstprivate() 31 known_sum = (999 * 1000) / 2 + 7 * num_threads; in test_omp_parallel_firstprivate()
|
| H A D | omp_parallel_private.c | 10 int sum, num_threads,sum1; in test_omp_parallel_private() local 14 num_threads = 0; in test_omp_parallel_private() 28 num_threads++; in test_omp_parallel_private() 31 known_sum = (999 * 1000) / 2 + 7 * num_threads; in test_omp_parallel_private()
|
| H A D | omp_parallel_copyin.c | 11 int sum, num_threads; in test_omp_parallel_copyin() local 16 num_threads = 0; in test_omp_parallel_copyin() 29 num_threads++; in test_omp_parallel_copyin() 32 known_sum = (999 * 1000) / 2 + 7 * num_threads; in test_omp_parallel_copyin()
|