use ppcg_scop_generate_names for block and thread identifiers
commit97163ef2260f14d8c994a73ed041c5743c6f8530
authorSven Verdoolaege <skimo@kotnet.org>
Fri, 23 Jan 2015 10:51:39 +0000 (23 11:51 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 9 Feb 2015 15:48:47 +0000 (9 16:48 +0100)
tree7c028b7891de5955fde638db78d32ab655e83f86
parent152bffe2666f2312f860c099bae68ef9a48547fa
use ppcg_scop_generate_names for block and thread identifiers

This ensures that the block and thread identifiers do not clash
with variable names in the scop.
The block and thread identifiers are now also constructed only
once and stored in ppcg_scop.
Some of the auxiliary functions are changed to take a list of isl_ids
instead of (re)generating names.  Since these functions are also
used by access_is_bijective, this function is also changed to use
ppcg_scop_generate_names.

With these changes, all variables created by PPCG are now made
not to clash with variable names in the scop.  We can therefore
remove the warning about possible clashes from the README.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
README
cuda.c
gpu.c
gpu.h
opencl.c