opencl-book-samples
opencl-book-samples copied to clipboard
Errata: Incorrect explenation in sample code comment (ch.4, pg.129)
The sample code on page 129 contains an incorrect explenation regarding the
widened scalar 'a'. Please see attached file for clarification.
The correct comment should either be:
// vc.x = vd.x ? a : vb.x
...
Or, better yet:
// vc.x = vd.x ? ((int4)a).x : vb.x
...
Original issue reported on code.google.com by [email protected]
on 6 Aug 2011 at 11:33
Attachments: