Sumeet002 / opencl-book-samples

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

Missing creation of sub-buffers (Ch. 7 p. 255) #59

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In the source code listing on pages 254-256, which is supposed to demonstrate 
the use of clCreateSubBuffer(), the creation of the sub-buffers does not appear 
to be included. Only the main buffer is pushed onto the vector of buffers, 
although subsequent code references that vector as though it has numDevices 
elements.

Original issue reported on code.google.com by chen...@gmail.com on 25 Jan 2012 at 8:24