Home
last modified time | relevance | path

Searched refs:num_tasks (Results 1 – 20 of 20) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/libgomp/
H A Dtaskloop.c36 unsigned long num_tasks, int priority, in GOMP_taskloop() argument
104 unsigned long grainsize = num_tasks; in GOMP_taskloop()
106 num_tasks = n / grainsize; in GOMP_taskloop()
109 num_tasks = ndiv; in GOMP_taskloop()
110 if (num_tasks != ndiv) in GOMP_taskloop()
111 num_tasks = ~0UL; in GOMP_taskloop()
114 && num_tasks != ~0ULL) in GOMP_taskloop()
120 num_tasks++; in GOMP_taskloop()
122 if (num_tasks == 1) in GOMP_taskloop()
125 nfirst = num_tasks - 2; in GOMP_taskloop()
[all …]
H A Dlibgomp.texi292 @item @code{strict} modifier in the @code{grainsize} and @code{num_tasks}
H A Dlibgomp.info293 'num_tasks' clauses of the taskloop
/netbsd-src/external/gpl3/gcc.old/dist/libgomp/
H A Dtaskloop.c36 unsigned long num_tasks, int priority, in GOMP_taskloop() argument
103 unsigned long grainsize = num_tasks; in GOMP_taskloop()
105 num_tasks = n / grainsize; in GOMP_taskloop()
108 num_tasks = ndiv; in GOMP_taskloop()
109 if (num_tasks != ndiv) in GOMP_taskloop()
110 num_tasks = ~0UL; in GOMP_taskloop()
112 if (num_tasks <= 1) in GOMP_taskloop()
114 num_tasks = 1; in GOMP_taskloop()
117 else if (num_tasks >= grainsize in GOMP_taskloop()
119 && num_tasks != ~0UL in GOMP_taskloop()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Domp-expand.c811 tree num_tasks = NULL_TREE; in expand_task_call() local
829 num_tasks = omp_find_clause (tclauses, OMP_CLAUSE_NUM_TASKS); in expand_task_call()
830 if (num_tasks) in expand_task_call()
831 num_tasks = OMP_CLAUSE_NUM_TASKS_EXPR (num_tasks); in expand_task_call()
834 num_tasks = omp_find_clause (tclauses, OMP_CLAUSE_GRAINSIZE); in expand_task_call()
835 if (num_tasks) in expand_task_call()
838 num_tasks = OMP_CLAUSE_GRAINSIZE_EXPR (num_tasks); in expand_task_call()
841 num_tasks = integer_zero_node; in expand_task_call()
843 num_tasks = fold_convert_loc (loc, long_integer_type_node, num_tasks); in expand_task_call()
913 num_tasks, priority, startvar, endvar, step); in expand_task_call()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Domp-expand.cc775 tree num_tasks = NULL_TREE; in expand_task_call() local
793 num_tasks = omp_find_clause (tclauses, OMP_CLAUSE_NUM_TASKS); in expand_task_call()
794 if (num_tasks) in expand_task_call()
796 if (OMP_CLAUSE_NUM_TASKS_STRICT (num_tasks)) in expand_task_call()
798 num_tasks = OMP_CLAUSE_NUM_TASKS_EXPR (num_tasks); in expand_task_call()
802 num_tasks = omp_find_clause (tclauses, OMP_CLAUSE_GRAINSIZE); in expand_task_call()
803 if (num_tasks) in expand_task_call()
806 if (OMP_CLAUSE_GRAINSIZE_STRICT (num_tasks)) in expand_task_call()
808 num_tasks = OMP_CLAUSE_GRAINSIZE_EXPR (num_tasks); in expand_task_call()
811 num_tasks = integer_zero_node; in expand_task_call()
[all …]
H A DChangeLog-202116143 if either grainsize or num_tasks clause has the strict modifier.
/netbsd-src/external/gpl3/gcc.old/dist/gcc/fortran/
H A Dtrans-openmp.c3367 if (clauses->num_tasks)
3369 tree num_tasks; variable
3372 gfc_conv_expr (&se, clauses->num_tasks);
3374 num_tasks = gfc_evaluate_now (se.expr, block);
3378 OMP_CLAUSE_NUM_TASKS_EXPR (c) = num_tasks;
4835 clausesa[GFC_OMP_SPLIT_TASKLOOP].num_tasks in gfc_split_omp_clauses()
4836 = code->ext.omp_clauses->num_tasks; in gfc_split_omp_clauses()
H A Dopenmp.c92 gfc_free_expr (c->num_tasks); in gfc_free_omp_clauses()
1520 && c->num_tasks == NULL
1521 && gfc_match ("num_tasks ( %e )", &c->num_tasks) == MATCH_YES)
5003 if (omp_clauses->num_tasks)
5004 resolve_positive_int_expr (omp_clauses->num_tasks, "NUM_TASKS");
H A Ddump-parse-tree.c1680 if (omp_clauses->num_tasks) in show_omp_clauses()
1683 show_expr (omp_clauses->num_tasks); in show_omp_clauses()
H A Dgfortran.h1357 struct gfc_expr *num_tasks; member
H A Dfrontend-passes.c5360 WALK_SUBEXPR (co->ext.omp_clauses->num_tasks); in gfc_code_walker()
/netbsd-src/external/gpl3/gcc/dist/gcc/fortran/
H A Dtrans-openmp.cc4069 if (clauses->num_tasks) in gfc_trans_omp_clauses()
4071 tree num_tasks; in gfc_trans_omp_clauses() local
4074 gfc_conv_expr (&se, clauses->num_tasks); in gfc_trans_omp_clauses()
4076 num_tasks = gfc_evaluate_now (se.expr, block); in gfc_trans_omp_clauses()
4080 OMP_CLAUSE_NUM_TASKS_EXPR (c) = num_tasks; in gfc_trans_omp_clauses()
6215 clausesa[GFC_OMP_SPLIT_TASKLOOP].num_tasks in gfc_split_omp_clauses()
6216 = code->ext.omp_clauses->num_tasks; in gfc_split_omp_clauses()
H A Dopenmp.cc95 gfc_free_expr (c->num_tasks); in gfc_free_omp_clauses()
2483 && (m = gfc_match_dupl_check (!c->num_tasks, "num_tasks", true)) in gfc_match_omp_clauses()
2490 if (gfc_match (" %e )", &c->num_tasks) != MATCH_YES) in gfc_match_omp_clauses()
7527 if (omp_clauses->num_tasks) in resolve_omp_clauses()
7528 resolve_positive_int_expr (omp_clauses->num_tasks, "NUM_TASKS"); in resolve_omp_clauses()
H A Ddump-parse-tree.cc1845 if (omp_clauses->num_tasks) in show_omp_clauses()
1850 show_expr (omp_clauses->num_tasks); in show_omp_clauses()
H A DChangeLog-2016632 hint, num_tasks, priority and if_exprs.
642 is_device_ptr, nogroup, nowait, num_tasks, priority, simd, threads
796 sched_nonmonotonic, simd, threads, grainsize, hint, num_tasks,
H A DChangeLog-20211281 on grainsize/num_tasks
1285 Handle 'strict' modifier on grainsize/num_tasks.
H A Dgfortran.h1518 struct gfc_expr *num_tasks; member
H A Dfrontend-passes.cc5652 WALK_SUBEXPR (co->ext.omp_clauses->num_tasks); in gfc_code_walker()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Frontend/OpenMP/
H A DOMP.td199 def OMPC_NumTasks : Clause<"num_tasks"> {