From 28c8a6e66a9f4dae69916ce315a328ae4fe6ea93 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Sun, 24 May 2015 11:54:12 +0200 Subject: [PATCH] update isl for rename of isl_schedule_*_foreach_* Signed-off-by: Sven Verdoolaege --- gpu.c | 10 +++++----- isl | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gpu.c b/gpu.c index bc0a0e5..85221ba 100644 --- a/gpu.c +++ b/gpu.c @@ -2307,7 +2307,7 @@ static __isl_give isl_ast_node *generate_code(struct gpu_gen *gen, data.kernel = NULL; depth = 0; - if (isl_schedule_foreach_schedule_node(schedule, &update_depth, + if (isl_schedule_foreach_schedule_node_top_down(schedule, &update_depth, &depth) < 0) return NULL; build = isl_ast_build_alloc(gen->prog->ctx); @@ -2351,7 +2351,7 @@ static int is_permutable(__isl_keep isl_schedule_node *node) return 1; } -/* A isl_schedule_foreach_schedule_node callback +/* A isl_schedule_foreach_schedule_node_top_down callback * for setting *any_permutable and aborting the search * if "node" is a permutable band with coincident dimensions. * Otherwise, continue searching. @@ -2379,8 +2379,8 @@ static int has_any_permutable_node(__isl_keep isl_schedule *schedule) { int any_permutable = 0; - if (isl_schedule_foreach_schedule_node(schedule, &set_permutable, - &any_permutable) < 0 && + if (isl_schedule_foreach_schedule_node_top_down(schedule, + &set_permutable, &any_permutable) < 0 && !any_permutable) return -1; @@ -3836,7 +3836,7 @@ static int subtree_has_permutable_bands(__isl_keep isl_schedule_node *node) { int any_parallelism = 0; - if (isl_schedule_node_foreach_descendant(node, &set_permutable, + if (isl_schedule_node_foreach_descendant_top_down(node, &set_permutable, &any_parallelism) < 0 && !any_parallelism) return -1; diff --git a/isl b/isl index 370a8b7..5482bda 160000 --- a/isl +++ b/isl @@ -1 +1 @@ -Subproject commit 370a8b7d078f15e47a4c8766645d2de68f8374fe +Subproject commit 5482bda29c45b1bfc5238b663a867bdc3059f999 -- 2.11.4.GIT