gpu.c: find_array_index: take ppcg_kernel instead of gpu_gen
commit9fcd5afc7eebf6c757f1c91ffe3cabd8c8676576
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 2 Oct 2013 19:54:23 +0000 (2 21:54 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 3 Apr 2015 07:42:45 +0000 (3 09:42 +0200)
tree6ba7fe2b469350cf0c4e5da8f4127990853b1af3
parent39ee9369523d35af82a53d577d644de957204881
gpu.c: find_array_index: take ppcg_kernel instead of gpu_gen

The information we need is also available in the kernel, so there is
no need to pass along the gpu_gen.

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