gpu.c: explictly compute extent
commit08919c711899c465167cf65c29bc80810e5be31a
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 20 May 2013 08:32:46 +0000 (20 10:32 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 22 May 2013 08:20:54 +0000 (22 10:20 +0200)
tree85ba6d27a9aad20922cf017fb1a7c068edb365f8
parent85efa5f57dd818a9b009e00550fc7ccadb2e8ea8
gpu.c: explictly compute extent

The bounds used when copying arrays to and from the device are based
on an updated view of the extent of the array.  Explicitly compute this
extent so that it can be reused in additional computations.

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