From 6f9434d24ad7c960f8b3d0488cef630d3094c212 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Sat, 13 Jun 2015 08:57:00 +0200 Subject: [PATCH] gpu_group.c: next: rename "dim" variable to "space" Signed-off-by: Sven Verdoolaege --- gpu_group.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/gpu_group.c b/gpu_group.c index f2a3aad..71fcab0 100644 --- a/gpu_group.c +++ b/gpu_group.c @@ -428,21 +428,21 @@ struct gpu_group_data { isl_union_map *full_sched; }; -/* Construct a map from domain_dim to domain_dim that increments +/* Construct a map from domain_space to domain_space that increments * the dimension at position "pos" and leaves all other dimensions * constant. */ -static __isl_give isl_map *next(__isl_take isl_space *domain_dim, int pos) +static __isl_give isl_map *next(__isl_take isl_space *domain_space, int pos) { int i; - int len = isl_space_dim(domain_dim, isl_dim_set); - isl_space *dim; + int len = isl_space_dim(domain_space, isl_dim_set); + isl_space *space; isl_basic_map *next; isl_local_space *ls; - dim = isl_space_map_from_set(domain_dim); - next = isl_basic_map_universe(isl_space_copy(dim)); - ls = isl_local_space_from_space(dim); + space = isl_space_map_from_set(domain_space); + next = isl_basic_map_universe(isl_space_copy(space)); + ls = isl_local_space_from_space(space); for (i = 0; i < len; ++i) { isl_constraint *c; -- 2.11.4.GIT