Skip to content

Commit

Permalink
New comment added
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed May 3, 2020
1 parent 85029c5 commit 606bc20
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pconvert/opencl.c
Expand Up @@ -201,7 +201,8 @@ ERROR_T blend_kernel(
if(error != CL_SUCCESS) { RAISE_F("[blend_kernel] Failed to set arguments: %d", error); }

/* calculates the total amount of memory that should be allocated on the global
area of the chunk set (required computation) */
area of the chunk set (required computation) this computation takes into account
the total number of cores available */
rem = size / local;
if(local % rem != 0) { rem++; }
global = local * rem;
Expand Down

0 comments on commit 606bc20

Please sign in to comment.