You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe line 80 should read:
if(num_elements % block_size) ++grid_size;
instead of the current:
if(grid_size % block_size) ++grid_size;
In other words, add an extra block to the grid if the total number of
elements isn't evenly divided by the block size.
Original issue reported on code.google.com by [email protected] on 7 May 2010 at 7:26
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 7 May 2010 at 7:26The text was updated successfully, but these errors were encountered: