| /llvm-project-15.0.7/clang/test/OpenMP/ |
| H A D | target_teams_num_teams_messages.cpp | 18 #pragma omp target teams num_teams(C) in tmain() 20 #pragma omp target teams num_teams(T) // expected-error {{'T' does not refer to a value}} in tmain() 22 #pragma omp target teams num_teams // expected-error {{expected '(' after 'num_teams'}} in tmain() 26 #pragma omp target teams num_teams() // expected-error {{expected expression}} in tmain() 34 #pragma omp target teams num_teams(argc + argc + z) in tmain() 36 #pragma omp target teams num_teams(argc), num_teams (argc+1) // expected-error {{directive '#pragma… in tmain() 42 #pragma omp target teams num_teams(-10u) in tmain() 58 #pragma omp target teams num_teams () // expected-error {{expected expression}} in main() 70 #pragma omp target teams num_teams (argc + argc*z) in main() 73 #pragma omp target teams num_teams (argc), num_teams (argc+1) // expected-error {{directive '#pragm… in main() [all …]
|
| H A D | teams_num_teams_messages.cpp | 19 #pragma omp teams num_teams(C) in tmain() 22 #pragma omp teams num_teams(T) // expected-error {{'T' does not refer to a value}} in tmain() 25 #pragma omp teams num_teams // expected-error {{expected '(' after 'num_teams'}} in tmain() 31 #pragma omp teams num_teams() // expected-error {{expected expression}} in tmain() 43 #pragma omp teams num_teams(argc + argc+z) in tmain() 46 #pragma omp teams num_teams(argc), num_teams (argc+1) // expected-error {{directive '#pragma omp te… in tmain() 55 #pragma omp teams num_teams(-10u) in tmain() 75 #pragma omp teams num_teams () // expected-error {{expected expression}} in main() 91 #pragma omp teams num_teams (argc + argc-z) in main() 95 #pragma omp teams num_teams (argc), num_teams (argc+1) // expected-error {{directive '#pragma omp t… in main() [all …]
|
| H A D | target_teams_distribute_num_teams_messages.cpp | 18 #pragma omp target teams distribute num_teams(C) in tmain() 20 #pragma omp target teams distribute num_teams(T) // expected-error {{'T' does not refer to a value}} in tmain() 22 #pragma omp target teams distribute num_teams // expected-error {{expected '(' after 'num_teams'}} in tmain() 26 #pragma omp target teams distribute num_teams() // expected-error {{expected expression}} in tmain() 34 #pragma omp target teams distribute num_teams(argc + argc + z) in tmain() 36 #pragma omp target teams distribute num_teams(argc), num_teams (argc+1) // expected-error {{directi… in tmain() 42 #pragma omp target teams distribute num_teams(-10u) in tmain() 58 #pragma omp target teams distribute num_teams () // expected-error {{expected expression}} in main() 70 #pragma omp target teams distribute num_teams (argc + argc+z) in main() 73 #pragma omp target teams distribute num_teams (argc), num_teams (argc+1) // expected-error {{direct… in main() [all …]
|
| H A D | target_teams_distribute_parallel_for_num_teams_messages.cpp | 18 #pragma omp target teams distribute parallel for num_teams(C) in tmain() 20 #pragma omp target teams distribute parallel for num_teams(T) // expected-error {{'T' does not refe… in tmain() 22 #pragma omp target teams distribute parallel for num_teams // expected-error {{expected '(' after '… in tmain() 26 #pragma omp target teams distribute parallel for num_teams() // expected-error {{expected expressio… in tmain() 34 #pragma omp target teams distribute parallel for num_teams(argc + z) in tmain() 36 #pragma omp target teams distribute parallel for num_teams(argc), num_teams (argc+1) // expected-er… in tmain() 42 #pragma omp target teams distribute parallel for num_teams(-10u) in tmain() 58 #pragma omp target teams distribute parallel for num_teams () // expected-error {{expected expressi… in main() 70 #pragma omp target teams distribute parallel for num_teams (argc + z) in main() 73 #pragma omp target teams distribute parallel for num_teams (argc), num_teams (argc+1) // expected-e… in main() [all …]
|
| H A D | teams_distribute_num_teams_messages.cpp | 19 #pragma omp teams distribute num_teams(C) in tmain() 22 #pragma omp teams distribute num_teams(T) // expected-error {{'T' does not refer to a value}} in tmain() 25 #pragma omp teams distribute num_teams // expected-error {{expected '(' after 'num_teams'}} in tmain() 31 #pragma omp teams distribute num_teams() // expected-error {{expected expression}} in tmain() 43 #pragma omp teams distribute num_teams(argc + argc + z) in tmain() 46 #pragma omp teams distribute num_teams(argc), num_teams (argc+1) // expected-error {{directive '#pr… in tmain() 55 #pragma omp teams distribute num_teams(-10u) in tmain() 75 #pragma omp teams distribute num_teams () // expected-error {{expected expression}} in main() 91 #pragma omp teams distribute num_teams (argc + argc + z) in main() 95 #pragma omp teams distribute num_teams (argc), num_teams (argc+1) // expected-error {{directive '#p… in main() [all …]
|
| H A D | target_teams_distribute_simd_num_teams_messages.cpp | 18 #pragma omp target teams distribute simd num_teams(C) in tmain() 20 #pragma omp target teams distribute simd num_teams(T) // expected-error {{'T' does not refer to a v… in tmain() 22 #pragma omp target teams distribute simd num_teams // expected-error {{expected '(' after 'num_team… in tmain() 26 #pragma omp target teams distribute simd num_teams() // expected-error {{expected expression}} in tmain() 34 #pragma omp target teams distribute simd num_teams(argc + argc) in tmain() 36 #pragma omp target teams distribute simd num_teams(argc), num_teams (argc+1) // expected-error {{di… in tmain() 42 #pragma omp target teams distribute simd num_teams(-10u) in tmain() 58 #pragma omp target teams distribute simd num_teams () // expected-error {{expected expression}} in main() 70 #pragma omp target teams distribute simd num_teams (argc + argc) in main() 73 #pragma omp target teams distribute simd num_teams (argc), num_teams (argc+1) // expected-error {{d… in main() [all …]
|
| H A D | teams_distribute_parallel_for_num_teams_messages.cpp | 19 #pragma omp teams distribute parallel for num_teams(C) in tmain() 22 #pragma omp teams distribute parallel for num_teams(T) // expected-error {{'T' does not refer to a … in tmain() 25 #pragma omp teams distribute parallel for num_teams // expected-error {{expected '(' after 'num_tea… in tmain() 31 #pragma omp teams distribute parallel for num_teams() // expected-error {{expected expression}} in tmain() 43 #pragma omp teams distribute parallel for num_teams(argc + argc + z) in tmain() 46 #pragma omp teams distribute parallel for num_teams(argc), num_teams (argc+1) // expected-error {{d… in tmain() 55 #pragma omp teams distribute parallel for num_teams(-10u) in tmain() 75 #pragma omp teams distribute parallel for num_teams () // expected-error {{expected expression}} in main() 91 #pragma omp teams distribute parallel for num_teams (argc + argc - z) in main() 95 #pragma omp teams distribute parallel for num_teams (argc), num_teams (argc+1) // expected-error {{… in main() [all …]
|
| H A D | target_teams_distribute_parallel_for_simd_num_teams_messages.cpp | 18 #pragma omp target teams distribute parallel for simd num_teams(C) in tmain() 20 #pragma omp target teams distribute parallel for simd num_teams(T) // expected-error {{'T' does not… in tmain() 22 #pragma omp target teams distribute parallel for simd num_teams // expected-error {{expected '(' af… in tmain() 26 #pragma omp target teams distribute parallel for simd num_teams() // expected-error {{expected expr… in tmain() 34 #pragma omp target teams distribute parallel for simd num_teams(argc + argc/z) in tmain() 36 #pragma omp target teams distribute parallel for simd num_teams(argc), num_teams (argc+1) // expect… in tmain() 42 #pragma omp target teams distribute parallel for simd num_teams(-10u) in tmain() 58 #pragma omp target teams distribute parallel for simd num_teams () // expected-error {{expected exp… in main() 70 #pragma omp target teams distribute parallel for simd num_teams (argc + argc-z) in main() 73 #pragma omp target teams distribute parallel for simd num_teams (argc), num_teams (argc+1) // expec… in main() [all …]
|
| H A D | teams_distribute_simd_num_teams_messages.cpp | 19 #pragma omp teams distribute simd num_teams(C) in tmain() 22 #pragma omp teams distribute simd num_teams(T) // expected-error {{'T' does not refer to a value}} in tmain() 25 #pragma omp teams distribute simd num_teams // expected-error {{expected '(' after 'num_teams'}} in tmain() 31 #pragma omp teams distribute simd num_teams() // expected-error {{expected expression}} in tmain() 43 #pragma omp teams distribute simd num_teams(argc + argc) in tmain() 46 #pragma omp teams distribute simd num_teams(argc + z), num_teams (argc+1) // expected-error {{direc… in tmain() 55 #pragma omp teams distribute simd num_teams(-10u) in tmain() 75 #pragma omp teams distribute simd num_teams () // expected-error {{expected expression}} in main() 91 #pragma omp teams distribute simd num_teams (argc + argc + z) in main() 95 #pragma omp teams distribute simd num_teams (argc), num_teams (argc+1) // expected-error {{directiv… in main() [all …]
|
| H A D | teams_distribute_parallel_for_simd_num_teams_messages.cpp | 19 #pragma omp teams distribute parallel for simd num_teams(C) in tmain() 22 #pragma omp teams distribute parallel for simd num_teams(T) // expected-error {{'T' does not refer … in tmain() 25 #pragma omp teams distribute parallel for simd num_teams // expected-error {{expected '(' after 'nu… in tmain() 31 #pragma omp teams distribute parallel for simd num_teams() // expected-error {{expected expression}} in tmain() 43 #pragma omp teams distribute parallel for simd num_teams(argc + k) in tmain() 46 #pragma omp teams distribute parallel for simd num_teams(argc), num_teams (argc+1) // expected-erro… in tmain() 55 #pragma omp teams distribute parallel for simd num_teams(-10u) in tmain() 75 #pragma omp teams distribute parallel for simd num_teams () // expected-error {{expected expression… in main() 91 #pragma omp teams distribute parallel for simd num_teams (argc + k) in main() 95 #pragma omp teams distribute parallel for simd num_teams (argc), num_teams (argc+1) // expected-err… in main() [all …]
|
| H A D | teams_distribute_parallel_for_simd_num_teams_messages_attr.cpp | 17 [[omp::sequence(directive(target), directive(teams distribute parallel for simd num_teams(C)))]] in tmain() 19 …[[omp::sequence(directive(target), directive(teams distribute parallel for simd num_teams(T)))]] /… in tmain() 21 …[[omp::sequence(directive(target), directive(teams distribute parallel for simd num_teams))]] // e… in tmain() 23 …[[omp::sequence(directive(target), directive(teams distribute parallel for simd num_teams()))]] //… in tmain() 27 …[[omp::sequence(directive(target), directive(teams distribute parallel for simd num_teams(argc + k… in tmain() 29 …irective(target), directive(teams distribute parallel for simd num_teams(argc), num_teams (argc+1)… in tmain() 35 …[[omp::sequence(directive(target), directive(teams distribute parallel for simd num_teams(-10u)))]] in tmain() 48 …[[omp::sequence(directive(target), directive(teams distribute parallel for simd num_teams ()))]] /… in main() 54 …[[omp::sequence(directive(target), directive(teams distribute parallel for simd num_teams (argc + … in main() 57 …irective(target), directive(teams distribute parallel for simd num_teams (argc), num_teams (argc+1… in main() [all …]
|
| H A D | target_num_teams_num_threads_attributes.cpp | 67 #pragma omp target teams num_teams(22) in foo1() 72 #pragma omp target teams distribute num_teams(22) in foo2() 78 #pragma omp target teams distribute parallel for num_teams(22) in foo3() 85 #pragma omp target teams num_teams(22) in bar1() 90 #pragma omp target teams distribute num_teams(33) in bar2() 96 #pragma omp target teams distribute parallel for num_teams(44) in bar3() 104 #pragma omp target teams num_teams(NT) in const_int() 123 #pragma omp target teams distribute parallel for thread_limit(22) num_teams(33) in threads_and_teams()
|
| H A D | teams_codegen.cpp | 47 #pragma omp teams num_teams(la) in teams_argument_global_local() 63 #pragma omp teams num_teams(Gbla+a) thread_limit(Gblb+(long long)lc) in teams_argument_global_local() 72 #pragma omp teams num_teams(Gblc+1) thread_limit(Gblc+2) in teams_argument_global_local() 117 #pragma omp teams num_teams(Gbla.a) thread_limit((long long)la.b) in teams_template_arg() 126 #pragma omp teams num_teams((long long)lb.b) thread_limit(Gblb.a) in teams_template_arg() 162 #pragma omp teams num_teams(a) thread_limit(X) in foo() 170 #pragma omp teams num_teams(Y) thread_limit((int)b+X) in foo() 255 #pragma omp teams num_teams(a) thread_limit(b) in tmain() 266 #pragma omp teams num_teams(a) thread_limit(b) in main()
|
| H A D | target_teams_num_teams_codegen.cpp | 88 #pragma omp target teams num_teams(tx(20)) in ftemplate() 93 #pragma omp target teams num_teams(b) in ftemplate() 104 #pragma omp target teams num_teams(n) in fstatic() 108 #pragma omp target teams num_teams(32+n) in fstatic() 121 #pragma omp target teams num_teams(n-b) in r1() 126 #pragma omp target teams num_teams(1024) in r1()
|
| H A D | target_teams_distribute_ast_print.cpp | 54 …private(b) firstprivate(argv) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(… in foo() 82 …private(b) firstprivate(argv) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(… in bar() 120 …private(b) firstprivate(argc) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(… in tmain() 156 …private(b) firstprivate(argc) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(… in main()
|
| H A D | teams_distribute_ast_print.cpp | 57 …private(b) firstprivate(argv) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(… in foo() 92 …private(b) firstprivate(argv) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(… in bar() 140 …private(b) firstprivate(argc) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(… in tmain() 184 …private(b) firstprivate(argc) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(… in main()
|
| H A D | nvptx_teams_codegen.cpp | 54 #pragma omp teams num_teams(a) thread_limit(b) in tmain() 65 #pragma omp teams num_teams(a) thread_limit(b) in main()
|
| H A D | target_teams_distribute_parallel_for_ast_print.cpp | 57 …private(b) firstprivate(argv) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(… in foo() 86 …private(b) firstprivate(argv) shared(d) reduction(+:c) reduction(max:e) num_teams(f8) thread_limit… in bar() 128 …private(b) firstprivate(argc) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(… in tmain() 173 …private(b) firstprivate(argc) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(… in main()
|
| H A D | teams_distribute_parallel_for_ast_print.cpp | 50 …private(b) firstprivate(argv) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(… in foo() 84 …private(b) firstprivate(argv) shared(d) reduction(+:c) reduction(max:e) num_teams(f8) thread_limit… in bar() 137 …private(b) firstprivate(argc) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(… in tmain() 192 …private(b) firstprivate(argc) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(… in main()
|
| H A D | target_teams_thread_limit_codegen.cpp | 93 #pragma omp target teams num_teams(b) thread_limit(1024) in ftemplate() 104 #pragma omp target teams num_teams(n) thread_limit(n*32) in fstatic()
|
| H A D | target_teams_distribute_simd_ast_print.cpp | 60 …rivate(b), firstprivate(argv) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(… in foo() 97 …rivate(b), firstprivate(argv) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(… in bar() 148 …rivate(b), firstprivate(argc) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(… in tmain() 199 …rivate(b), firstprivate(argc) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(… in main()
|
| /llvm-project-15.0.7/openmp/libomptarget/test/offloading/ |
| H A D | looptripcnt.c | 13 int num_teams[NN]; in main() local 20 num_teams[j] = omp_get_num_teams(); in main() 22 printf("num_threads %d num_teams %d\n", num_threads[0], num_teams[0]); in main() 28 num_teams[j] = omp_get_num_teams(); in main() 30 printf("num_threads %d num_teams %d\n", num_threads[0], num_teams[0]); in main()
|
| H A D | host_as_target.c | 55 #pragma omp target teams device(DevInit) num_teams(1) map(always,tofrom:X) in main() 61 #pragma omp target teams device(DevInit) num_teams(1) in main() 112 #pragma omp target teams num_teams(1) map(always,tofrom:X) in main() 118 #pragma omp target teams num_teams(1) in main()
|
| H A D | target-teams-atomic.c | 20 #pragma omp target teams num_teams(NUM_TEAMS_TRY) map(tofrom:x, numTeams) in main() 35 #pragma omp target teams num_teams(NUM_TEAMS_TRY) map(tofrom:x, numTeams) in main()
|
| /llvm-project-15.0.7/openmp/runtime/test/teams/ |
| H A D | teams-atomic.c | 19 #pragma omp teams num_teams(NUM_TEAMS_TRY) in main() 34 #pragma omp teams num_teams(NUM_TEAMS_TRY) in main()
|