Khronos Public Bugzilla
Bug 789 - clCreateBuffer has wrongly names flags
clCreateBuffer has wrongly names flags
Status: NEW
Product: OpenCL
Classification: Unclassified
Component: Man Pages, Reference Card & Other Documentation
1.2
All All
: P3 normal
: ---
Assigned To: Neil Trevett
OpenCL Working Group
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-07 06:35 PST by Vincent Hindriksen
Modified: 2013-02-07 06:35 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Hindriksen 2013-02-07 06:35:53 PST
At
http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clCreateBuffer.html
there is a copy-paste mistake:
- CL_MEM_COPY_HOST_WRITE_ONLY
- CL_MEM_COPY_HOST_READ_ONLY
- CL_MEM_COPY_HOST_NO_ACCESS

They all should be without the _COPY:
- CL_MEM_HOST_WRITE_ONLY
- CL_MEM_HOST_READ_ONLY
- CL_MEM_HOST_NO_ACCESS