Khronos Public Bugzilla

Bug 789

Summary: clCreateBuffer has wrongly names flags
Product: OpenCL Reporter: Vincent Hindriksen <vincent.hindriksen>
Component: Man Pages, Reference Card & Other DocumentationAssignee: Neil Trevett <ntrevett>
Status: NEW --- QA Contact: OpenCL Working Group <opencl>
Severity: normal    
Priority: P3    
Version: 1.2   
Target Milestone: ---   
Hardware: All   
OS: All   

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