Khronos Public Bugzilla
Bug 718 - Documentation for cl::Program::getBuildInfo() is incorrect.
Documentation for cl::Program::getBuildInfo() is incorrect.
Status: NEW
Product: OpenCL
Classification: Unclassified
Component: C++ Bindings (cl.hpp)
1.1
All All
: P3 minor
: ---
Assigned To: Simon McIntosh-Smith
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-24 02:14 PDT by Andrew Punnett
Modified: 2014-02-18 00:01 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Punnett 2012-09-24 02:14:32 PDT
An non-specialised instance of cl::Program::getBuildInfo() should be passed 3 arguments, the first of which is a cl::Device. The documentation just mentions the final 2 arguments.

For comparison:

cl.hpp:
cl_int getBuildInfo( const Device& device, cl_program_build_info name, T* param)

opencl-cplusplus-1.1.pdf:
cl_int cl::Program::getBuildInfo(cl_program_build_info name, T * param)