Khronos Public Bugzilla
Bug 249 - clEnqueueUnmapMemObject html documentation inconsistency
clEnqueueUnmapMemObject html documentation inconsistency
Status: NEW
Product: OpenCL
Classification: Unclassified
Component: Man Pages, Reference Card & Other Documentation
1.0
PC Windows
: P3 trivial
: ---
Assigned To: Neil Trevett
OpenCL Working Group
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-01-13 07:46 PST by ken
Modified: 2011-01-02 11:21 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 ken 2010-01-13 07:46:06 PST
Hi,

I just noticed the HTML version of the OpenCL 1.0 documentation states that the clEnqueueUnmapMemObject function returns a void pointer while the header file delares a cl_int.

http://www.khronos.org/opencl/sdk/1.0/docs/man/xhtml/clEnqueueUnmapMemObject.html
vs:
http://www.khronos.org/registry/cl/api/1.0/cl.h

The PDF documentation (1.0.48) doesn't seem to be affected.

Regards
-ken
Comment 1 Ian Ollmann 2010-01-13 10:59:26 PST
The man page is in error.  The spec has it as follows:

cl_int
clEnqueueUnmapMemObject (cl_command_queue command_queue, cl_mem memobj,
void *mapped_ptr, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event)