gpu: avoid mapping independent non-permutable bands to the device
commit6fa737100c75a48c5619506f246aab8fa2a27f7d
authorSven Verdoolaege <skimo@kotnet.org>
Thu, 24 Oct 2013 11:15:10 +0000 (24 13:15 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 24 Apr 2015 08:03:28 +0000 (24 10:03 +0200)
tree068458ac9b93b7cc27d11b1cc1aea787e4163950
parentb6b91b6eba0b5bbac0956032e965d294bf84265d
gpu: avoid mapping independent non-permutable bands to the device

If parts of the input code are completely independent of other parts
then they will end up as children of an outer set node.
If only some of these children have permutable bands, then there
is no point in also mapping the other children to the device.
We therefore separate the children without permutable bands and
keep them on the host.

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