gpu.c: read_sizes: split off read_tile_sizes
commitce2292423c6c414adca3bdb6e0f939b36ff1a7f1
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 2 Oct 2013 10:48:14 +0000 (2 12:48 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 30 Mar 2015 11:40:27 +0000 (30 13:40 +0200)
tree6fb267ed8551473085db44359c515050499e1266
parent655226b5b7aa3ea155d51089b3fde36e8b7194d5
gpu.c: read_sizes: split off read_tile_sizes

We currently read all sizes (tile, grid and block) together, but
when we start reading them during kernel creation, then we will
need the tile sizes before the grid and block sizes.
We therefore split read_sizes into read_tile_sizes and
read_grid_and_block_sizes.

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