You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this errata for the book or an issue with the source code? Source code
If errata, please describe the problem in the book (with page number). If
this is an issue with the source code, please specify the problem,
platform, OpenCL implementation, and any additional information that will
help us reproduce the problem:
Platform is AMD using Visual Studio 2012 and App SDK version 2.7.
Chapter 12, sinewave example does not compile using the OpenCL 1.2 version of
cl.hpp. The lines in question are:
cl::KernelFunctor func = kernel.bind(
queue,
cl::NDRange(meshWidth, meshHeight),
cl::NDRange(local_work_size[0], local_work_size[1]));
KernelFunctor and the bind method are removed in the latest version of cl.hpp
found on the Khronos website and in the latest version of AMD's APP SDK. Both
of these appear in a previous 1.1 version of cl.hpp on the Khronos website. The
explanation for removal is that KernelFunctor and bind are not part of the
OpenCL spec and have problems.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected] on 16 Nov 2012 at 10:29
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 16 Nov 2012 at 10:29The text was updated successfully, but these errors were encountered: