Home
last modified time | relevance | path

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

12

/netbsd-src/external/gpl3/gcc/dist/libgomp/
H A Dteams.c33 unsigned int thread_limit, unsigned int flags) in GOMP_teams_reg() argument
38 if (thread_limit == 0) in GOMP_teams_reg()
39 thread_limit = gomp_teams_thread_limit_var; in GOMP_teams_reg()
40 if (thread_limit) in GOMP_teams_reg()
45 = thread_limit > INT_MAX ? UINT_MAX : thread_limit; in GOMP_teams_reg()
54 if (thread_limit) in GOMP_teams_reg()
H A Dicv.c165 omp_set_teams_thread_limit (int thread_limit) in omp_set_teams_thread_limit() argument
167 if (thread_limit >= 0) in omp_set_teams_thread_limit()
168 gomp_teams_thread_limit_var = thread_limit; in omp_set_teams_thread_limit()
H A Dfortran.c504 omp_set_teams_thread_limit_ (const int32_t *thread_limit) in omp_set_teams_thread_limit_() argument
506 omp_set_teams_thread_limit (*thread_limit); in omp_set_teams_thread_limit_()
510 omp_set_teams_thread_limit_8_ (const int64_t *thread_limit) in omp_set_teams_thread_limit_8_() argument
512 omp_set_teams_thread_limit (TO_INT (*thread_limit)); in omp_set_teams_thread_limit_8_()
H A Domp_lib.f90.in583 subroutine omp_set_teams_thread_limit (thread_limit)
584 integer (4), intent (in) :: thread_limit local
586 subroutine omp_set_teams_thread_limit_8 (thread_limit)
587 integer (8), intent (in) :: thread_limit local
H A Dtarget.c3244 GOMP_teams (unsigned int num_teams, unsigned int thread_limit) in GOMP_teams() argument
3246 if (thread_limit) in GOMP_teams()
3250 = thread_limit > INT_MAX ? UINT_MAX : thread_limit; in GOMP_teams()
3257 unsigned int thread_limit, bool first) in GOMP_teams4() argument
3262 if (thread_limit) in GOMP_teams4()
3266 = thread_limit > INT_MAX ? UINT_MAX : thread_limit; in GOMP_teams4()
/netbsd-src/external/gpl3/gcc.old/dist/libgomp/
H A Dteams.c35 unsigned int thread_limit, unsigned int flags) in GOMP_teams_reg() argument
40 if (thread_limit) in GOMP_teams_reg()
45 = thread_limit > INT_MAX ? UINT_MAX : thread_limit; in GOMP_teams_reg()
54 if (thread_limit) in GOMP_teams_reg()
H A Dtarget.c2580 GOMP_teams (unsigned int num_teams, unsigned int thread_limit) in GOMP_teams() argument
2582 if (thread_limit) in GOMP_teams()
2586 = thread_limit > INT_MAX ? UINT_MAX : thread_limit; in GOMP_teams()
/netbsd-src/external/gpl3/gcc.old/dist/libgomp/config/nvptx/
H A Dtarget.c30 GOMP_teams (unsigned int num_teams, unsigned int thread_limit) in GOMP_teams() argument
32 if (thread_limit) in GOMP_teams()
36 = thread_limit > INT_MAX ? UINT_MAX : thread_limit; in GOMP_teams()
H A Dteams.c33 unsigned int thread_limit, unsigned int flags) in GOMP_teams_reg() argument
39 (void) thread_limit; in GOMP_teams_reg()
/netbsd-src/external/gpl3/gcc.old/dist/libgomp/config/gcn/
H A Dtarget.c30 GOMP_teams (unsigned int num_teams, unsigned int thread_limit) in GOMP_teams() argument
32 if (thread_limit) in GOMP_teams()
36 = thread_limit > INT_MAX ? UINT_MAX : thread_limit; in GOMP_teams()
/netbsd-src/external/gpl3/gcc/dist/libgomp/config/gcn/
H A Dtarget.c31 unsigned int thread_limit, bool first) in GOMP_teams4() argument
35 if (thread_limit) in GOMP_teams4()
39 = thread_limit > INT_MAX ? UINT_MAX : thread_limit; in GOMP_teams4()
H A Dteams.c32 unsigned int thread_limit, unsigned int flags) in GOMP_teams_reg() argument
38 (void) thread_limit; in GOMP_teams_reg()
/netbsd-src/external/gpl3/gcc/dist/libgomp/config/nvptx/
H A Dtarget.c33 unsigned int thread_limit, bool first) in GOMP_teams4() argument
48 if (thread_limit) in GOMP_teams4()
52 = thread_limit > INT_MAX ? UINT_MAX : thread_limit; in GOMP_teams4()
H A Dteams.c35 unsigned int thread_limit, unsigned int flags) in GOMP_teams_reg() argument
41 (void) thread_limit; in GOMP_teams_reg()
/netbsd-src/external/apache2/llvm/dist/clang/docs/
H A DOpenMPSupport.rst42 value of threads or as specified by the `thread_limit` clause if
289 | device extension | thread_limit clause on target construct | :no…
/netbsd-src/external/gpl3/gcc.old/dist/gcc/fortran/
H A Dtrans-openmp.c3319 if (clauses->thread_limit)
3321 tree thread_limit; variable
3324 gfc_conv_expr (&se, clauses->thread_limit);
3326 thread_limit = gfc_evaluate_now (se.expr, block);
3330 OMP_CLAUSE_THREAD_LIMIT_EXPR (c) = thread_limit;
4751 clausesa[GFC_OMP_SPLIT_TEAMS].thread_limit in gfc_split_omp_clauses()
4752 = code->ext.omp_clauses->thread_limit; in gfc_split_omp_clauses()
5383 || clausesa[GFC_OMP_SPLIT_TEAMS].thread_limit)) in gfc_trans_omp_target()
5392 clausesb.thread_limit = clausesa[GFC_OMP_SPLIT_TEAMS].thread_limit; in gfc_trans_omp_target()
5394 clausesa[GFC_OMP_SPLIT_TEAMS].thread_limit = NULL; in gfc_trans_omp_target()
H A Dopenmp.c88 gfc_free_expr (c->thread_limit); in gfc_free_omp_clauses()
1861 && c->thread_limit == NULL
1863 &c->thread_limit) == MATCH_YES)
4999 if (omp_clauses->thread_limit)
5000 resolve_positive_int_expr (omp_clauses->thread_limit, "THREAD_LIMIT");
H A Ddump-parse-tree.c1644 if (omp_clauses->thread_limit) in show_omp_clauses()
1647 show_expr (omp_clauses->thread_limit); in show_omp_clauses()
/netbsd-src/external/gpl3/gcc/dist/gcc/fortran/
H A Dtrans-openmp.cc4019 if (clauses->thread_limit) in gfc_trans_omp_clauses()
4021 tree thread_limit; in gfc_trans_omp_clauses() local
4024 gfc_conv_expr (&se, clauses->thread_limit); in gfc_trans_omp_clauses()
4026 thread_limit = gfc_evaluate_now (se.expr, block); in gfc_trans_omp_clauses()
4030 OMP_CLAUSE_THREAD_LIMIT_EXPR (c) = thread_limit; in gfc_trans_omp_clauses()
6079 clausesa[GFC_OMP_SPLIT_TARGET].thread_limit in gfc_split_omp_clauses()
6080 = code->ext.omp_clauses->thread_limit; in gfc_split_omp_clauses()
6099 clausesa[GFC_OMP_SPLIT_TEAMS].thread_limit in gfc_split_omp_clauses()
6100 = code->ext.omp_clauses->thread_limit; in gfc_split_omp_clauses()
6939 || clausesa[GFC_OMP_SPLIT_TEAMS].thread_limit)) in gfc_trans_omp_target()
[all …]
H A DChangeLog-20141398 (gfc_omp_clauses): Add num_teams, device, thread_limit,
1430 (gfc_free_omp_clauses): Free num_teams, device, thread_limit
1448 to, from, thread_limit and dist_schedule clauses.
1477 dist_chunk_size and thread_limit.
1513 thread_limit, device, dist_chunk_size and dist_sched_kind.
H A Dopenmp.cc91 gfc_free_expr (c->thread_limit); in gfc_free_omp_clauses()
2852 && (m = gfc_match_dupl_check (!c->thread_limit, "thread_limit", in gfc_match_omp_clauses()
2853 true, &c->thread_limit)) in gfc_match_omp_clauses()
7523 if (omp_clauses->thread_limit) in resolve_omp_clauses()
7524 resolve_positive_int_expr (omp_clauses->thread_limit, "THREAD_LIMIT"); in resolve_omp_clauses()
H A Ddump-parse-tree.cc1765 if (omp_clauses->thread_limit) in show_omp_clauses()
1768 show_expr (omp_clauses->thread_limit); in show_omp_clauses()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Domp-expand.c964 tree thread_limit = omp_find_clause (clauses, OMP_CLAUSE_THREAD_LIMIT); in expand_teams_call() local
965 if (thread_limit == NULL_TREE) in expand_teams_call()
966 thread_limit = build_int_cst (unsigned_type_node, 0); in expand_teams_call()
969 thread_limit = OMP_CLAUSE_THREAD_LIMIT_EXPR (thread_limit); in expand_teams_call()
970 thread_limit = fold_convert (unsigned_type_node, thread_limit); in expand_teams_call()
987 args->quick_push (thread_limit); in expand_teams_call()
H A Domp-low.c12730 tree thread_limit = omp_find_clause (gimple_omp_teams_clauses (teams_stmt), in lower_omp_teams() local
12732 if (thread_limit == NULL_TREE) in lower_omp_teams()
12733 thread_limit = build_int_cst (unsigned_type_node, 0); in lower_omp_teams()
12736 thread_limit = OMP_CLAUSE_THREAD_LIMIT_EXPR (thread_limit); in lower_omp_teams()
12737 thread_limit = fold_convert (unsigned_type_node, thread_limit); in lower_omp_teams()
12738 gimplify_expr (&thread_limit, &bind_body, NULL, is_gimple_val, in lower_omp_teams()
12752 gimple *call = gimple_build_call (decl, 2, num_teams, thread_limit); in lower_omp_teams()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Domp-expand.cc944 tree thread_limit = omp_find_clause (clauses, OMP_CLAUSE_THREAD_LIMIT); in expand_teams_call() local
945 if (thread_limit == NULL_TREE) in expand_teams_call()
946 thread_limit = build_int_cst (unsigned_type_node, 0); in expand_teams_call()
949 thread_limit = OMP_CLAUSE_THREAD_LIMIT_EXPR (thread_limit); in expand_teams_call()
950 thread_limit = fold_convert (unsigned_type_node, thread_limit); in expand_teams_call()
967 args->quick_push (thread_limit); in expand_teams_call()

12