gpu: modify schedule tree after checking for tilable band
commitdb0b2bcfb7579aee1b1615d77beccba7a7bb46f2
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 11 Jun 2014 16:26:41 +0000 (11 18:26 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 10 Apr 2015 13:18:58 +0000 (10 15:18 +0200)
tree314eae91413c72eef026432a84367752104f1c3c
parentb18d65d9a991dd99341771f96e11e854cb1e65cd
gpu: modify schedule tree after checking for tilable band

This means we can avoid stashing an updated copy in the gpu_gen structure
while returning the original schedule tree from compute_schedule.
Now the schedule is only modified after it has been used to check
for a tilable band and it can be passed as a function argument.

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