From 6cc90f0a8faa989a677419a8637dc7eea03603ab Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Tue, 3 Jan 2012 10:13:05 +0100 Subject: [PATCH] list_select_outer_band: update tile_first after extending prefix tile_first refers to the position of the selected tilable band and prefix contains the schedule dimensions up to that band. They therefore need to be updated together. Signed-off-by: Sven Verdoolaege --- cuda.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cuda.c b/cuda.c index e4c04e7..d7938ac 100644 --- a/cuda.c +++ b/cuda.c @@ -4001,6 +4001,7 @@ static void list_select_outer_band(struct cuda_gen *gen, continue; info[i].prefix = extend_range(info[i].prefix, info[i].tile_first, max_tile_first, 0); + info[i].tile_first = max_tile_first; } qsort(info, n, sizeof(struct band_info), &cmp_band); -- 2.11.4.GIT