gpu.c: explicitly compute copy_out
commit5ad44df8f81957cef90e39c38ea34b16c1494e36
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 20 May 2013 11:51:46 +0000 (20 13:51 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 22 May 2013 08:32:49 +0000 (22 10:32 +0200)
tree8ba8c6d8503ac20ad69609f167b8bb06162a604a
parent08919c711899c465167cf65c29bc80810e5be31a
gpu.c: explicitly compute copy_out

The set of elements that need to be copied out was implicitly being
computed in cuda.c:copy_arrays_from_device.  Compute it explicitly
so that in the next commit we can reuse it to fix the computation
of the set of elements that need to be copied in.

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