summaryrefslogtreecommitdiffstats
path: root/polly/lib/External
diff options
context:
space:
mode:
Diffstat (limited to 'polly/lib/External')
-rw-r--r--polly/lib/External/ppcg/gpu.c2
-rw-r--r--polly/lib/External/ppcg/gpu.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/polly/lib/External/ppcg/gpu.c b/polly/lib/External/ppcg/gpu.c
index 218b918ddfe..e76e1494193 100644
--- a/polly/lib/External/ppcg/gpu.c
+++ b/polly/lib/External/ppcg/gpu.c
@@ -5309,7 +5309,7 @@ int generate_gpu(isl_ctx *ctx, const char *input, FILE *out,
* arrays that are not local to "prog" and remove those elements that
* are definitely killed or definitely written by "prog".
*/
-static __isl_give isl_union_set *compute_may_persist(struct gpu_prog *prog)
+__isl_give isl_union_set *compute_may_persist(struct gpu_prog *prog)
{
int i;
isl_union_set *may_persist, *killed;
diff --git a/polly/lib/External/ppcg/gpu.h b/polly/lib/External/ppcg/gpu.h
index 7d617de3fab..78bccdf8b54 100644
--- a/polly/lib/External/ppcg/gpu.h
+++ b/polly/lib/External/ppcg/gpu.h
@@ -369,4 +369,6 @@ __isl_give isl_schedule *map_to_device(struct gpu_gen *gen,
__isl_take isl_schedule *schedule);
__isl_give isl_ast_node *generate_code(struct gpu_gen *gen,
__isl_take isl_schedule *schedule);
+
+__isl_give isl_union_set *compute_may_persist(struct gpu_prog *prog);
#endif
OpenPOWER on IntegriCloud