From 4efa437aea6dc075c4fbc8aa0cbc608e6e4424aa Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Sat, 3 Sep 2011 21:33:00 +0200 Subject: [PATCH] localize_bounds: explicitly project on parameter domain Signed-off-by: Sven Verdoolaege --- cuda.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cuda.c b/cuda.c index 9b315e8..5d42c40 100644 --- a/cuda.c +++ b/cuda.c @@ -3563,11 +3563,9 @@ static void localize_bounds(struct cuda_gen *gen, { int i, j; isl_set *context; - unsigned nvar; context = isl_set_copy(host_domain); - nvar = isl_set_dim(host_domain, isl_dim_set); - context = isl_set_project_out(host_domain, isl_dim_set, 0, nvar); + context = isl_set_params(host_domain); for (i = 0; i < gen->n_array; ++i) { struct cuda_array_info *array = &gen->array[i]; -- 2.11.4.GIT