lppcom / opencl-book-samples

Automatically exported from code.google.com/p/opencl-book-samples
0 stars 0 forks source link

Extra parenthesis in histogram_partial_image_rgba_unorm8 source (p. 396) #26

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Original source code:
int    tid = get_local_id(1) * get_local_size(0) + get_local_id(0));

Removing the parenthesis:
int    tid = get_local_id(1) * get_local_size(0) + get_local_id(0);

Original issue reported on code.google.com by jakw@dtu.dk on 15 Aug 2011 at 1:38