gpu.c: create_domain_leaf: handle domain leaves not inside any kernel
commitb6b91b6eba0b5bbac0956032e965d294bf84265d
authorSven Verdoolaege <skimo@kotnet.org>
Sun, 20 Oct 2013 15:09:03 +0000 (20 17:09 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 24 Apr 2015 08:03:28 +0000 (24 10:03 +0200)
tree964f5dbc76b372b3fbcb00a9d730932f54c3d4a7
parent7704906d516b3505d3dd3c5560f71a751127f805
gpu.c: create_domain_leaf: handle domain leaves not inside any kernel

In the next commit, we will introduce the possibility of mapping
only part of the input scop to the device.  We therefore need to
adjust create_domain_leaf to take into account that some user
statements may be generated on the host, outside any kernel.

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