gpu_group.c: next: rename "dim" variable to "space"