Set the default grid size to valid value
commitfc2f14974ffec88c80cd12f2ea31a1b0bbf103a5
authorTobias Grosser <tobias@grosser.es>
Sun, 7 Aug 2011 22:55:26 +0000 (7 23:55 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 8 Aug 2011 07:31:24 +0000 (8 09:31 +0200)
tree438a40ea1391a5a99911166e7f0b03f498156f82
parentef849724bdc158bcf4cadd0f30f9f8cc81415049
Set the default grid size to valid value

For 1-dimensional grids the grid size is reduced to 2^15 (instead of
65536 = 2^16), because current GPUs do not support grids with a first dimension
larger than 65535 = 2^16 - 1.

Signed-off-by: Tobias Grosser <tobias@grosser.es>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
cuda.c