/external/llvm-project/clang/test/OpenMP/ |
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() 24 #pragma omp target teams num_teams( // expected-error {{expected expression}} expected-error {{expe… in tmain() 26 #pragma omp target teams num_teams() // expected-error {{expected expression}} in tmain() 28 #pragma omp target teams num_teams(argc // expected-error {{expected ')'}} expected-note {{to match… in tmain() 30 #pragma omp target teams num_teams(argc)) // expected-warning {{extra tokens at the end of '#pragma… in tmain() 32 #pragma omp target teams num_teams(argc > 0 ? a[1] : a[2]) // expected-error {{expression must have… 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() [all …]
|
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() 28 #pragma omp teams num_teams( // expected-error {{expected expression}} expected-error {{expected ')… in tmain() 31 #pragma omp teams num_teams() // expected-error {{expected expression}} in tmain() 34 #pragma omp teams num_teams(argc // expected-error {{expected ')'}} expected-note {{to match this '… in tmain() 37 #pragma omp teams num_teams(argc)) // expected-warning {{extra tokens at the end of '#pragma omp te… in tmain() 40 #pragma omp teams num_teams(argc > 0 ? a[1] : a[2]) // expected-error {{expression must have integr… 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() [all …]
|
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() 24 #pragma omp target teams distribute parallel for num_teams( // expected-error {{expected expression… in tmain() 26 #pragma omp target teams distribute parallel for num_teams() // expected-error {{expected expressio… in tmain() 28 #pragma omp target teams distribute parallel for num_teams(argc // expected-error {{expected ')'}} … in tmain() 30 #pragma omp target teams distribute parallel for num_teams(argc)) // expected-warning {{extra token… in tmain() 32 #pragma omp target teams distribute parallel for num_teams(argc > 0 ? a[1] : a[2]) // expected-erro… 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() [all …]
|
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() 24 #pragma omp target teams distribute num_teams( // expected-error {{expected expression}} expected-e… in tmain() 26 #pragma omp target teams distribute num_teams() // expected-error {{expected expression}} in tmain() 28 #pragma omp target teams distribute num_teams(argc // expected-error {{expected ')'}} expected-note… in tmain() 30 #pragma omp target teams distribute num_teams(argc)) // expected-warning {{extra tokens at the end … in tmain() 32 #pragma omp target teams distribute num_teams(argc > 0 ? a[1] : a[2]) // expected-error {{expressio… 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() [all …]
|
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() 28 #pragma omp teams distribute num_teams( // expected-error {{expected expression}} expected-error {{… in tmain() 31 #pragma omp teams distribute num_teams() // expected-error {{expected expression}} in tmain() 34 #pragma omp teams distribute num_teams(argc // expected-error {{expected ')'}} expected-note {{to m… in tmain() 37 #pragma omp teams distribute num_teams(argc)) // expected-warning {{extra tokens at the end of '#pr… in tmain() 40 #pragma omp teams distribute num_teams(argc > 0 ? a[1] : a[2]) // expected-error {{expression must … 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() [all …]
|
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() 24 #pragma omp target teams distribute simd num_teams( // expected-error {{expected expression}} expec… in tmain() 26 #pragma omp target teams distribute simd num_teams() // expected-error {{expected expression}} in tmain() 28 #pragma omp target teams distribute simd num_teams(argc // expected-error {{expected ')'}} expected… in tmain() 30 #pragma omp target teams distribute simd num_teams(argc + z)) // expected-warning {{extra tokens at… in tmain() 32 #pragma omp target teams distribute simd num_teams(argc > 0 ? a[1] : a[2]) // expected-error {{expr… 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() [all …]
|
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() 28 #pragma omp teams distribute parallel for num_teams( // expected-error {{expected expression}} expe… in tmain() 31 #pragma omp teams distribute parallel for num_teams() // expected-error {{expected expression}} in tmain() 34 #pragma omp teams distribute parallel for num_teams(argc // expected-error {{expected ')'}} expecte… in tmain() 37 #pragma omp teams distribute parallel for num_teams(argc)) // expected-warning {{extra tokens at th… in tmain() 40 #pragma omp teams distribute parallel for num_teams(argc > 0 ? a[1] : a[2]) // expected-error {{exp… 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() [all …]
|
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() 24 #pragma omp target teams distribute parallel for simd num_teams( // expected-error {{expected expre… in tmain() 26 #pragma omp target teams distribute parallel for simd num_teams() // expected-error {{expected expr… in tmain() 28 #pragma omp target teams distribute parallel for simd num_teams(argc // expected-error {{expected '… in tmain() 30 #pragma omp target teams distribute parallel for simd num_teams(argc)) // expected-warning {{extra … in tmain() 32 #pragma omp target teams distribute parallel for simd num_teams(argc > 0 ? a[1] : a[2]) // expected… 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() [all …]
|
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() 28 #pragma omp teams distribute simd num_teams( // expected-error {{expected expression}} expected-err… in tmain() 31 #pragma omp teams distribute simd num_teams() // expected-error {{expected expression}} in tmain() 34 #pragma omp teams distribute simd num_teams(argc // expected-error {{expected ')'}} expected-note {… in tmain() 37 #pragma omp teams distribute simd num_teams(argc)) // expected-warning {{extra tokens at the end of… in tmain() 40 #pragma omp teams distribute simd num_teams(argc > 0 ? a[1] : a[2]) // expected-error {{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() [all …]
|
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() 28 #pragma omp teams distribute parallel for simd num_teams( // expected-error {{expected expression}}… in tmain() 31 #pragma omp teams distribute parallel for simd num_teams() // expected-error {{expected expression}} in tmain() 34 #pragma omp teams distribute parallel for simd num_teams(argc // expected-error {{expected ')'}} ex… in tmain() 37 #pragma omp teams distribute parallel for simd num_teams(argc)) // expected-warning {{extra tokens … in tmain() 40 #pragma omp teams distribute parallel for simd num_teams(argc > 0 ? a[1] : a[2]) // expected-error … 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() [all …]
|
D | teams_codegen.cpp | 55 #pragma omp teams num_teams(la) in teams_argument_global_local() 84 #pragma omp teams num_teams(Gbla+a) thread_limit(Gblb+(long long)lc) in teams_argument_global_local() 99 #pragma omp teams num_teams(Gblc+1) thread_limit(Gblc+2) in teams_argument_global_local() 155 #pragma omp teams num_teams(Gbla.a) thread_limit((long long)la.b) in teams_template_arg() 172 #pragma omp teams num_teams((long long)lb.b) thread_limit(Gblb.a) in teams_template_arg() 216 #pragma omp teams num_teams(a) thread_limit(X) in foo() 230 #pragma omp teams num_teams(Y) thread_limit((int)b+X) in foo() 339 #pragma omp teams num_teams(a) thread_limit(b) in tmain() 350 #pragma omp teams num_teams(a) thread_limit(b) in main()
|
D | target_teams_num_teams_codegen.cpp | 110 #pragma omp target teams num_teams(tx(20)) in ftemplate() 115 #pragma omp target teams num_teams(b) in ftemplate() 126 #pragma omp target teams num_teams(n) in fstatic() 130 #pragma omp target teams num_teams(32+n) in fstatic() 143 #pragma omp target teams num_teams(n-b) in r1() 148 #pragma omp target teams num_teams(1024) in r1()
|
D | nvptx_teams_codegen.cpp | 103 #pragma omp teams num_teams(a) thread_limit(b) in tmain() 114 #pragma omp teams num_teams(a) thread_limit(b) in main()
|
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()
|
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()
|
D | target_teams_thread_limit_codegen.cpp | 115 #pragma omp target teams num_teams(b) thread_limit(1024) in ftemplate() 126 #pragma omp target teams num_teams(n) thread_limit(n*32) in fstatic()
|
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()
|
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()
|
D | teams_ast_print.cpp | 51 …e(argc,b) firstprivate(argv) shared (d) reduction(+:c) reduction(max:e) num_teams(C) thread_limit(… in tmain() 121 #pragma omp teams default(none), private(argc,b) num_teams(f) firstprivate(argv) reduction(| : c, d… in main()
|
/external/clang/test/OpenMP/ |
D | teams_num_teams_messages.cpp | 16 #pragma omp teams num_teams(C) in tmain() 19 #pragma omp teams num_teams(T) // expected-error {{'T' does not refer to a value}} in tmain() 22 #pragma omp teams num_teams // expected-error {{expected '(' after 'num_teams'}} in tmain() 25 #pragma omp teams num_teams( // expected-error {{expected expression}} expected-error {{expected ')… in tmain() 28 #pragma omp teams num_teams() // expected-error {{expected expression}} in tmain() 31 #pragma omp teams num_teams(argc // expected-error {{expected ')'}} expected-note {{to match this '… in tmain() 34 #pragma omp teams num_teams(argc)) // expected-warning {{extra tokens at the end of '#pragma omp te… in tmain() 37 #pragma omp teams num_teams(argc > 0 ? a[1] : a[2]) // expected-error {{expression must have integr… in tmain() 40 #pragma omp teams num_teams(argc + argc) in tmain() 43 #pragma omp teams num_teams(argc), num_teams (argc+1) // expected-error {{directive '#pragma omp te… in tmain() [all …]
|
D | teams_codegen.cpp | 47 #pragma omp teams num_teams(la) in teams_argument_global_local() 76 #pragma omp teams num_teams(Gbla+a) thread_limit(Gblb+(long long)lc) in teams_argument_global_local() 91 #pragma omp teams num_teams(Gblc+1) thread_limit(Gblc+2) in teams_argument_global_local() 139 #pragma omp teams num_teams(Gbla.a) thread_limit((long long)la.b) in teams_template_arg() 156 #pragma omp teams num_teams((long long)lb.b) thread_limit(Gblb.a) in teams_template_arg() 192 #pragma omp teams num_teams(a) thread_limit(X) in foo() 206 #pragma omp teams num_teams(Y) thread_limit((int)b+X) in foo() 295 #pragma omp teams num_teams(a) thread_limit(b) in tmain() 306 #pragma omp teams num_teams(a) thread_limit(b) in main()
|
D | nvptx_teams_codegen.cpp | 75 #pragma omp teams num_teams(a) thread_limit(b) in tmain() 86 #pragma omp teams num_teams(a) thread_limit(b) in main()
|
D | teams_ast_print.cpp | 40 …e(argc,b) firstprivate(argv) shared (d) reduction(+:c) reduction(max:e) num_teams(C) thread_limit(… in tmain() 104 #pragma omp teams default(none), private(argc,b) num_teams(f) firstprivate(argv) reduction(| : c, d… in main()
|
/external/llvm-project/openmp/libomptarget/test/offloading/ |
D | looptripcnt.c | 17 int num_teams[NN]; in main() local 24 num_teams[j] = omp_get_num_teams(); in main() 26 printf("num_threads %d num_teams %d\n", num_threads[0], num_teams[0]); in main() 32 num_teams[j] = omp_get_num_teams(); in main() 34 printf("num_threads %d num_teams %d\n", num_threads[0], num_teams[0]); in main()
|
/external/llvm-project/openmp/libomptarget/plugins/amdgpu/src/ |
D | rtl.cpp | 1424 int num_teams, int thread_limit, uint64_t loop_tripcount) { in getLaunchVals() argument 1480 fprintf(stderr, "num_teams: %d\n", num_teams); in getLaunchVals() 1495 if (num_teams > 0) { in getLaunchVals() 1496 num_groups = (num_teams < num_groups) ? num_teams : num_groups; in getLaunchVals() 1514 if (num_teams <= 0) { in getLaunchVals() 1527 num_groups = num_teams; in getLaunchVals() 1535 if (num_groups > num_teams && num_teams > 0) { in getLaunchVals() 1536 num_groups = num_teams; in getLaunchVals() 1539 num_groups, num_teams); in getLaunchVals() 1544 if (num_teams > 0) { in getLaunchVals() [all …]
|