Khronos Public Bugzilla
Bug 718 - Documentation for cl::Program::getBuildInfo() is incorrect.
Summary: Documentation for cl::Program::getBuildInfo() is incorrect.
Status: NEW
Alias: None
Product: OpenCL
Classification: Unclassified
Component: C++ Bindings (cl.hpp) (show other bugs)
Version: 1.1
Hardware: All All
: P3 minor
Target Milestone: ---
Assignee: Simon McIntosh-Smith
QA Contact:
Depends on:
Reported: 2012-09-24 02:14 PDT by Andrew Punnett
Modified: 2014-02-18 00:01 PST (History)
2 users (show)

See Also:


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_int getBuildInfo( const Device& device, cl_program_build_info name, T* param)

cl_int cl::Program::getBuildInfo(cl_program_build_info name, T * param)