Skip to content
Permalink
Browse files

Merge branch 'patch-1' of https://github.com/new2f7/pocl

  • Loading branch information
pjaaskel committed Jan 13, 2020
2 parents 2601c2c + c6e50c1 commit b9e871a3676fabf7b8041722df90389491466125
Showing with 2 additions and 1 deletion.
  1. +1 −0 CREDITS
  2. +1 −1 lib/CL/clEnqueueNDRangeKernel.c
@@ -69,3 +69,4 @@ Maxim Eremenko <moeryomenko@gmail.com>
Andrew Gozillon <andrew.gozillon@yahoo.com>
Jan Solanti <jan.solanti@tuni.fi>
Stefan Brüns <stefan.bruens@rwth-aachen.de>
Tobias Baumann <t.baumann@agdsn.de>
@@ -398,7 +398,7 @@ if (local_##coord > 1) \
/* Only proceed if splitting wouldn't bring us below the minimum
* group size */
while (((splits = ncus / (nwg_x * nwg_y * nwg_z)) > 1) &&
(local_x * local_y * local_z > splits * min_group_size))
(local_x * local_y * local_z >= splits * min_group_size))
{
/* Very simple splitting approach: find a dimension divisible by
* split, and lacking that divide by something less, if possible.

0 comments on commit b9e871a

Please sign in to comment.
You can’t perform that action at this time.