gpu.c: set_schedule_modulo: allow smaller number of band members than identifiers
commit3ffab8510fb32f27222bfe0597c15785cecb3dba
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 2 Oct 2013 19:54:23 +0000 (2 21:54 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 10 Apr 2015 13:18:58 +0000 (10 15:18 +0200)
tree5d456f4c6dda125e27999df87782e2217ed473ee
parent296405d84388eda4844a2c34e11a2421befe7d46
gpu.c: set_schedule_modulo: allow smaller number of band members than identifiers

If this number is smaller, then the first elements in the list
of identifiers are equated to zero.
We will need this when we will generate the entire code from
a single schedule tree.  In particular, the copying to/from
shared memory will be mapped to the last thread identifiers
rather than the first.

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