HandsOnOpenCL / Lecture-Slides

Lecture Slide Issue Tracking
Other
245 stars 44 forks source link

Inconsistent Buffer constructor use for result #9

Closed tomdeakin closed 11 years ago

tomdeakin commented 11 years ago

Slide 35: did we really get the version of cl::Buffer that lets us do:

cl::Buffer d_c(context, CL_MEM_WRITE_ONLY, sizeof(float)*count);

If we did, do the C++ host examples in later slides consistently use this for write-only device buffers?