There is a typo in the second line of the source code listing:
"buffer = clCreate(..."
In general the code is a bit confusing since the mentioned intention is to
create sub-buffers. That particular part is missing in the code. One can only
imagine that the sub-buffers are created elsewhere and then used here:
"errNum = clSetKernelArg(kernel, 0, sizeof(cl_mem), (void *)&buffers[i]);"
Except for those little errors it is a really nice book!
Thank you and regards,
Martin
Original issue reported on code.google.com by metaphys...@googlemail.com on 2 Nov 2011 at 11:34
Original issue reported on code.google.com by
metaphys...@googlemail.com
on 2 Nov 2011 at 11:34