Home
last modified time | relevance | path

Searched refs:thread_limit (Results 1 – 25 of 61) sorted by relevance

123

/llvm-project-15.0.7/clang/test/OpenMP/
H A Dtarget_teams_thread_limit_messages.cpp18 #pragma omp target teams thread_limit(C) in tmain()
20 #pragma omp target teams thread_limit(T) // expected-error {{'T' does not refer to a value}} in tmain()
22 #pragma omp target teams thread_limit // expected-error {{expected '(' after 'thread_limit'}} in tmain()
26 #pragma omp target teams thread_limit() // expected-error {{expected expression}} in tmain()
34 #pragma omp target teams thread_limit(argc + argc + z) in tmain()
36 #pragma omp target teams thread_limit(argc), thread_limit (argc+1) // expected-error {{directive '#… in tmain()
42 #pragma omp target teams thread_limit(-10u) in tmain()
58 #pragma omp target teams thread_limit () // expected-error {{expected expression}} in main()
70 #pragma omp target teams thread_limit (argc + argc/ z) in main()
73 #pragma omp target teams thread_limit (argc), thread_limit (argc+1) // expected-error {{directive '… in main()
[all …]
H A Dteams_thread_limit_messages.cpp19 #pragma omp teams thread_limit(C) in tmain()
22 #pragma omp teams thread_limit(T) // expected-error {{'T' does not refer to a value}} in tmain()
25 #pragma omp teams thread_limit // expected-error {{expected '(' after 'thread_limit'}} in tmain()
31 #pragma omp teams thread_limit() // expected-error {{expected expression}} in tmain()
43 #pragma omp teams thread_limit(argc + argc + z) in tmain()
46 #pragma omp teams thread_limit(argc), thread_limit (argc+1) // expected-error {{directive '#pragma … in tmain()
55 #pragma omp teams thread_limit(-10u) in tmain()
75 #pragma omp teams thread_limit () // expected-error {{expected expression}} in main()
91 #pragma omp teams thread_limit (argc + argc - z) in main()
95 #pragma omp teams thread_limit (argc), thread_limit (argc+1) // expected-error {{directive '#pragma… in main()
[all …]
H A Dteams_distribute_thread_limit_messages.cpp19 #pragma omp teams distribute thread_limit(C) in tmain()
22 #pragma omp teams distribute thread_limit(T) // expected-error {{'T' does not refer to a value}} in tmain()
25 #pragma omp teams distribute thread_limit // expected-error {{expected '(' after 'thread_limit'}} in tmain()
31 #pragma omp teams distribute thread_limit() // expected-error {{expected expression}} in tmain()
43 #pragma omp teams distribute thread_limit(argc + argc + z) in tmain()
46 #pragma omp teams distribute thread_limit(argc), thread_limit (argc+1) // expected-error {{directiv… in tmain()
55 #pragma omp teams distribute thread_limit(-10u) in tmain()
75 #pragma omp teams distribute thread_limit () // expected-error {{expected expression}} in main()
91 #pragma omp teams distribute thread_limit (argc + argc + z) in main()
95 #pragma omp teams distribute thread_limit (argc), thread_limit (argc+1) // expected-error {{directi… in main()
[all …]
H A Dtarget_teams_distribute_parallel_for_thread_limit_messages.cpp18 #pragma omp target teams distribute parallel for thread_limit(C) in tmain()
21 #pragma omp target teams distribute parallel for thread_limit(T) // expected-error {{'T' does not r… in tmain()
24 #pragma omp target teams distribute parallel for thread_limit // expected-error {{expected '(' afte… in tmain()
30 #pragma omp target teams distribute parallel for thread_limit() // expected-error {{expected expres… in tmain()
42 #pragma omp target teams distribute parallel for thread_limit(argc + argc + z) in tmain()
45 #pragma omp target teams distribute parallel for thread_limit(argc), thread_limit (argc+1) // expec… in tmain()
54 #pragma omp target teams distribute parallel for thread_limit(-10u) in tmain()
71 #pragma omp target teams distribute parallel for thread_limit () // expected-error {{expected expre… in main()
83 #pragma omp target teams distribute parallel for thread_limit (argc -z + argc) in main()
86 #pragma omp target teams distribute parallel for thread_limit (argc), thread_limit (argc+1) // expe… in main()
[all …]
H A Dtarget_teams_distribute_simd_thread_limit_messages.cpp18 #pragma omp target teams distribute simd thread_limit(C) in tmain()
20 #pragma omp target teams distribute simd thread_limit(T) // expected-error {{'T' does not refer to … in tmain()
22 #pragma omp target teams distribute simd thread_limit // expected-error {{expected '(' after 'threa… in tmain()
26 #pragma omp target teams distribute simd thread_limit() // expected-error {{expected expression}} in tmain()
34 #pragma omp target teams distribute simd thread_limit(argc + argc + z) in tmain()
36 #pragma omp target teams distribute simd thread_limit(argc), thread_limit (argc+1) // expected-erro… in tmain()
42 #pragma omp target teams distribute simd thread_limit(-10u) in tmain()
58 #pragma omp target teams distribute simd thread_limit () // expected-error {{expected expression}} in main()
70 #pragma omp target teams distribute simd thread_limit (argc + argc - z) in main()
73 #pragma omp target teams distribute simd thread_limit (argc), thread_limit (argc+1) // expected-err… in main()
[all …]
H A Dteams_distribute_parallel_for_thread_limit_messages.cpp19 #pragma omp teams distribute parallel for thread_limit(C) in tmain()
22 #pragma omp teams distribute parallel for thread_limit(T) // expected-error {{'T' does not refer to… in tmain()
25 #pragma omp teams distribute parallel for thread_limit // expected-error {{expected '(' after 'thre… in tmain()
31 #pragma omp teams distribute parallel for thread_limit() // expected-error {{expected expression}} in tmain()
43 #pragma omp teams distribute parallel for thread_limit(argc + argc + z) in tmain()
46 #pragma omp teams distribute parallel for thread_limit(argc), thread_limit (argc+1) // expected-err… in tmain()
55 #pragma omp teams distribute parallel for thread_limit(-10u) in tmain()
75 #pragma omp teams distribute parallel for thread_limit () // expected-error {{expected expression}} in main()
91 #pragma omp teams distribute parallel for thread_limit (argc + argc + z) in main()
95 #pragma omp teams distribute parallel for thread_limit (argc), thread_limit (argc+1) // expected-er… in main()
[all …]
H A Dtarget_teams_distribute_parallel_for_simd_thread_limit_messages.cpp18 #pragma omp target teams distribute parallel for simd thread_limit(C) in tmain()
20 #pragma omp target teams distribute parallel for simd thread_limit(T) // expected-error {{'T' does … in tmain()
22 #pragma omp target teams distribute parallel for simd thread_limit // expected-error {{expected '('… in tmain()
26 #pragma omp target teams distribute parallel for simd thread_limit() // expected-error {{expected e… in tmain()
34 #pragma omp target teams distribute parallel for simd thread_limit(argc + argc + z) in tmain()
36 #pragma omp target teams distribute parallel for simd thread_limit(argc), thread_limit (argc+1) // … in tmain()
42 #pragma omp target teams distribute parallel for simd thread_limit(-10u) in tmain()
58 #pragma omp target teams distribute parallel for simd thread_limit () // expected-error {{expected … in main()
70 #pragma omp target teams distribute parallel for simd thread_limit (argc + argc-z) in main()
73 #pragma omp target teams distribute parallel for simd thread_limit (argc), thread_limit (argc+1) //… in main()
[all …]
H A Dteams_distribute_simd_thread_limit_messages.cpp19 #pragma omp teams distribute simd thread_limit(C) in tmain()
22 #pragma omp teams distribute simd thread_limit(T) // expected-error {{'T' does not refer to a value… in tmain()
25 #pragma omp teams distribute simd thread_limit // expected-error {{expected '(' after 'thread_limit… in tmain()
31 #pragma omp teams distribute simd thread_limit() // expected-error {{expected expression}} in tmain()
43 #pragma omp teams distribute simd thread_limit(argc + argc + z) in tmain()
46 #pragma omp teams distribute simd thread_limit(argc), thread_limit (argc+1) // expected-error {{dir… in tmain()
55 #pragma omp teams distribute simd thread_limit(-10u) in tmain()
75 #pragma omp teams distribute simd thread_limit () // expected-error {{expected expression}} in main()
91 #pragma omp teams distribute simd thread_limit (argc + argc + z) in main()
95 #pragma omp teams distribute simd thread_limit (argc), thread_limit (argc+1) // expected-error {{di… in main()
[all …]
H A Dteams_distribute_parallel_for_simd_thread_limit_messages.cpp19 #pragma omp teams distribute parallel for simd thread_limit(C) in tmain()
22 #pragma omp teams distribute parallel for simd thread_limit(T) // expected-error {{'T' does not ref… in tmain()
25 #pragma omp teams distribute parallel for simd thread_limit // expected-error {{expected '(' after … in tmain()
31 #pragma omp teams distribute parallel for simd thread_limit() // expected-error {{expected expressi… in tmain()
43 #pragma omp teams distribute parallel for simd thread_limit(argc + z) in tmain()
46 #pragma omp teams distribute parallel for simd thread_limit(argc), thread_limit (argc+1) // expecte… in tmain()
55 #pragma omp teams distribute parallel for simd thread_limit(-10u) in tmain()
75 #pragma omp teams distribute parallel for simd thread_limit () // expected-error {{expected express… in main()
91 #pragma omp teams distribute parallel for simd thread_limit (argc + z) in main()
95 #pragma omp teams distribute parallel for simd thread_limit (argc), thread_limit (argc+1) // expect… in main()
[all …]
H A Dteams_codegen.cpp54 #pragma omp teams thread_limit(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 Dtarget_teams_thread_limit_codegen.cpp88 #pragma omp target teams thread_limit(tx(20)) in ftemplate()
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()
108 #pragma omp target teams thread_limit(32+n) in fstatic()
121 #pragma omp target teams thread_limit(n-b) in r1()
126 #pragma omp target teams thread_limit(1024) in r1()
H A Dtarget_num_teams_num_threads_attributes.cpp109 void thread_limit() { in thread_limit() function
110 #pragma omp target teams thread_limit(22) in thread_limit()
116 #pragma omp target teams distribute parallel for thread_limit(22) num_threads(11) in num_threads()
123 #pragma omp target teams distribute parallel for thread_limit(22) num_teams(33) in threads_and_teams()
H A Dtarget_teams_distribute_ast_print.cpp54 …tprivate(argv) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(d) allocate(omp… in foo()
82 …rstprivate(argv) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(d) allocate(e) in bar()
120 …rivate(b) firstprivate(argc) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(d) in tmain()
156 …rivate(b) firstprivate(argc) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(d) in main()
H A Dteams_distribute_ast_print.cpp57 …rivate(b) firstprivate(argv) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(d) in foo()
92 …tprivate(argv) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(d) allocate(omp… in bar()
140 …rivate(b) firstprivate(argc) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(d) in tmain()
184 …rivate(b) firstprivate(argc) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(d) in main()
H A Dnvptx_teams_codegen.cpp54 #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 Dtarget_teams_distribute_parallel_for_ast_print.cpp57 …rivate(b) firstprivate(argv) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(d) in foo()
86 …stprivate(argv) shared(d) reduction(+:c) reduction(max:e) num_teams(f8) thread_limit(d) allocate(e) in bar()
128 …rivate(b) firstprivate(argc) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(d) in tmain()
173 …rivate(b) firstprivate(argc) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(d) in main()
H A Dteams_distribute_parallel_for_ast_print.cpp50 …firstprivate(argv) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(d) copyin(x) in foo()
84 …private(argv) shared(d) reduction(+:c) reduction(max:e) num_teams(f8) thread_limit(d) copyin(x) al… in bar()
137 …firstprivate(argc) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(d) copyin(x) in tmain()
192 …firstprivate(argc) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(d) copyin(x) in main()
H A Dtarget_teams_distribute_simd_ast_print.cpp60 …ivate(b), firstprivate(argv) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(d) in foo()
97 …ivate(b), firstprivate(argv) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(d) in bar()
148 …ivate(b), firstprivate(argc) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(d) in tmain()
199 …ivate(b), firstprivate(argc) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(d) in main()
H A Dteams_ast_print.cpp51 …rgc,b) firstprivate(argv) shared (d) reduction(+:c) reduction(max:e) num_teams(C) thread_limit(d*C) in tmain()
121 …vate(argc,b) num_teams(f) firstprivate(argv) reduction(| : c, d) reduction(* : e) thread_limit(f+g) in main()
H A Dteams_distribute_codegen.cpp30 #pragma omp teams distribute num_teams(te), thread_limit(th) in teams_argument_global()
152 #pragma omp teams distribute num_teams(te) thread_limit(th) in tmain()
H A Dtarget_teams_distribute_parallel_for_simd_ast_print.cpp57 …rivate(b) firstprivate(argv) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(d) in foo()
96 …ivate(b) firstprivate(argv) shared(d) reduction(+:c) reduction(max:e) num_teams(f8) thread_limit(d) in bar()
148 …rivate(b) firstprivate(argc) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(d) in tmain()
199 …rivate(b) firstprivate(argc) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(d) in main()
H A Dteams_distribute_parallel_for_simd_ast_print.cpp55 …rivate(b) firstprivate(argv) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(d) in foo()
102 …ivate(b) firstprivate(argv) shared(d) reduction(+:c) reduction(max:e) num_teams(f8) thread_limit(d) in bar()
172 …rivate(b) firstprivate(argc) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(d) in tmain()
235 …rivate(b) firstprivate(argc) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(d) in main()
H A Dteams_distribute_simd_ast_print.cpp52 …rivate(b) firstprivate(argv) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(d) in foo()
103 …rivate(b) firstprivate(argv) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(d) in bar()
166 …rivate(b) firstprivate(argc) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(d) in tmain()
229 …rivate(b) firstprivate(argc) shared(d) reduction(+:c) reduction(max:e) num_teams(f) thread_limit(d) in main()
H A Dteams_distribute_parallel_for_codegen.cpp29 #pragma omp teams distribute parallel for num_teams(te), thread_limit(th) in teams_argument_global()
152 #pragma omp teams distribute parallel for num_teams(te) thread_limit(th) in tmain()
/llvm-project-15.0.7/openmp/runtime/test/teams/
H A Dkmp_num_teams.c30 void check_num_teams(int num_teams_lb, int num_teams_ub, int thread_limit) { in check_num_teams() argument
36 thread_limit); in check_num_teams()
56 thr_limit = (thread_limit ? thread_limit : priv_nthreads); in check_num_teams()

123