construct shared memory copying statements inline
commitdbc728d13196b061945a27cbf0f848072ab118ba
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 2 Jan 2012 14:08:01 +0000 (2 15:08 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 4 Jan 2012 12:42:14 +0000 (4 13:42 +0100)
treef4401472e86aa39ae8be5f7541d72d6ae7ddee35
parentd562bbb2696a8c6d5419cbe3b87f85dc4516a436
construct shared memory copying statements inline

Using defines is somewhat fragile as the those defines may end up
referring to parameters that have a fixed value and therefore
do not appear in the generated code.
Since we already have the infrastructure for printing private
memory copying statements, we can simply reuse it for shared memory copying.

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