Home
last modified time | relevance | path

Searched refs:grainsize (Results 1 – 22 of 22) sorted by relevance

/netbsd/external/gpl3/gcc/dist/libgomp/
H A Dtaskloop.c104 unsigned long grainsize = num_tasks; in GOMP_taskloop() local
106 num_tasks = n / grainsize; in GOMP_taskloop()
108 UTYPE ndiv = n / grainsize; in GOMP_taskloop()
116 UTYPE mod = n % grainsize; in GOMP_taskloop()
117 task_step = (TYPE) grainsize * step; in GOMP_taskloop()
133 else if (num_tasks >= grainsize in GOMP_taskloop()
139 UTYPE mul = num_tasks * grainsize; in GOMP_taskloop()
140 task_step = (TYPE) grainsize * step; in GOMP_taskloop()
H A Dlibgomp.texi292 @item @code{strict} modifier in the @code{grainsize} and @code{num_tasks}
/netbsd/external/gpl3/gcc.old/dist/libgomp/
H A Dtaskloop.c103 unsigned long grainsize = num_tasks; in GOMP_taskloop() local
105 num_tasks = n / grainsize; in GOMP_taskloop()
107 UTYPE ndiv = n / grainsize; in GOMP_taskloop()
117 else if (num_tasks >= grainsize in GOMP_taskloop()
123 UTYPE mul = num_tasks * grainsize; in GOMP_taskloop()
124 task_step = (TYPE) grainsize * step; in GOMP_taskloop()
/netbsd/external/gpl3/gcc/dist/gcc/fortran/
H A Dtrans-openmp.c3352 if (clauses->grainsize)
3354 tree grainsize; variable
3357 gfc_conv_expr (&se, clauses->grainsize);
3359 grainsize = gfc_evaluate_now (se.expr, block);
3363 OMP_CLAUSE_GRAINSIZE_EXPR (c) = grainsize;
4833 clausesa[GFC_OMP_SPLIT_TASKLOOP].grainsize in gfc_split_omp_clauses()
4834 = code->ext.omp_clauses->grainsize; in gfc_split_omp_clauses()
H A Dopenmp.c90 gfc_free_expr (c->grainsize); in gfc_free_omp_clauses()
1280 && c->grainsize == NULL
1281 && gfc_match ("grainsize ( %e )", &c->grainsize) == MATCH_YES)
5001 if (omp_clauses->grainsize)
5002 resolve_positive_int_expr (omp_clauses->grainsize, "GRAINSIZE");
H A Dtrans-openmp.cc4052 if (clauses->grainsize) in gfc_trans_omp_clauses()
4054 tree grainsize; in gfc_trans_omp_clauses() local
4057 gfc_conv_expr (&se, clauses->grainsize); in gfc_trans_omp_clauses()
4059 grainsize = gfc_evaluate_now (se.expr, block); in gfc_trans_omp_clauses()
4063 OMP_CLAUSE_GRAINSIZE_EXPR (c) = grainsize; in gfc_trans_omp_clauses()
6211 clausesa[GFC_OMP_SPLIT_TASKLOOP].grainsize in gfc_split_omp_clauses()
6212 = code->ext.omp_clauses->grainsize; in gfc_split_omp_clauses()
H A Ddump-parse-tree.c1668 if (omp_clauses->grainsize) in show_omp_clauses()
1671 show_expr (omp_clauses->grainsize); in show_omp_clauses()
H A Dopenmp.cc93 gfc_free_expr (c->grainsize); in gfc_free_omp_clauses()
2133 && (m = gfc_match_dupl_check (!c->grainsize, "grainsize", true)) in gfc_match_omp_clauses()
2140 if (gfc_match (" %e )", &c->grainsize) != MATCH_YES) in gfc_match_omp_clauses()
7525 if (omp_clauses->grainsize) in resolve_omp_clauses()
7526 resolve_positive_int_expr (omp_clauses->grainsize, "GRAINSIZE"); in resolve_omp_clauses()
H A Ddump-parse-tree.cc1825 if (omp_clauses->grainsize) in show_omp_clauses()
1830 show_expr (omp_clauses->grainsize); in show_omp_clauses()
H A DChangeLog-2016631 * openmp.c (gfc_free_omp_clauses): Free critical_name, grainsize,
641 alphabetically belongs. Parse defaultmap, grainsize, hint,
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.h1515 struct gfc_expr *grainsize; member
H A Dfrontend-passes.c5358 WALK_SUBEXPR (co->ext.omp_clauses->grainsize); in gfc_code_walker()
H A Dfrontend-passes.cc5650 WALK_SUBEXPR (co->ext.omp_clauses->grainsize); in gfc_code_walker()
/netbsd/external/gpl3/gcc.old/dist/gcc/fortran/
H A Dtrans-openmp.c3352 if (clauses->grainsize)
3354 tree grainsize; variable
3357 gfc_conv_expr (&se, clauses->grainsize);
3359 grainsize = gfc_evaluate_now (se.expr, block);
3363 OMP_CLAUSE_GRAINSIZE_EXPR (c) = grainsize;
4833 clausesa[GFC_OMP_SPLIT_TASKLOOP].grainsize in gfc_split_omp_clauses()
4834 = code->ext.omp_clauses->grainsize; in gfc_split_omp_clauses()
H A Dopenmp.c90 gfc_free_expr (c->grainsize); in gfc_free_omp_clauses()
1280 && c->grainsize == NULL
1281 && gfc_match ("grainsize ( %e )", &c->grainsize) == MATCH_YES)
5001 if (omp_clauses->grainsize)
5002 resolve_positive_int_expr (omp_clauses->grainsize, "GRAINSIZE");
H A Ddump-parse-tree.c1668 if (omp_clauses->grainsize) in show_omp_clauses()
1671 show_expr (omp_clauses->grainsize); in show_omp_clauses()
H A Dgfortran.h1355 struct gfc_expr *grainsize; member
H A Dfrontend-passes.c5358 WALK_SUBEXPR (co->ext.omp_clauses->grainsize); in gfc_code_walker()
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Frontend/OpenMP/
H A DOMP.td192 def OMPC_GrainSize : Clause<"grainsize"> {
/netbsd/external/gpl3/gcc/dist/gcc/c-family/
H A DChangeLog9138 * c-pragma.c (init_pragma): Register "grainsize" pragma.
/netbsd/external/gpl3/gcc/dist/gcc/
H A DChangeLog-202116143 if either grainsize or num_tasks clause has the strict modifier.