gpu: store block sizes only in ppcg_kernel
commit15d48eacc778c6b9ddbfc99473a3649619725f54
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 2 Oct 2013 19:54:23 +0000 (2 21:54 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 30 Mar 2015 11:40:27 +0000 (30 13:40 +0200)
tree20e2caf55a5627c737af02ecb714e13971e299e7
parentb46f13a40c90fa01ca2fefa9708e8e1f5470e946
gpu: store block sizes only in ppcg_kernel

Since 561c8ae (use isl for CUDA code generation, Tue Jul 31 21:00:26 2012 +0200)
we keep a copy of the block sizes in gpu_gen in ppcg_kernel so that we can
use them during printing.  Since c7179a0 (gpu.c: compute effective block size,
Fri Apr 12 13:41:10 2013 +0200), the block sizes in gpu_gen represent
the user specified sizes, while the block sizes in ppcg_kernel represent
the effective sizes.
There is, however, no need to keep the user specified sizes once
the effective sizes have been computed.  Moreover, there is no need
to keep the block sizes in gpu_gen.  Only keep them in ppcg_kernel,
where they now represent the user specified sizes until the effective
sizes have been computed.

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