gpu.c: at_domain: store current kernel in local data structure
commitadd62fcc2c5169f3ab567fef905daa53e4afa0df
authorSven Verdoolaege <skimo@kotnet.org>
Sun, 20 Oct 2013 15:09:03 +0000 (20 17:09 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 17 Apr 2015 09:07:11 +0000 (17 11:07 +0200)
treeaaf3b16c52fca2ea7c11ddd5b9499e19ccd314e8
parent255122254d1eba7c41bbe0385f22019b1ba0204f
gpu.c: at_domain: store current kernel in local data structure

In particular, do so instead of storing it in gpu_gen.
Since we only need it locally inside at_domain, it is best
to also store it locally.

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