@@ -6078,7 +6078,7 @@ is executed successfully.
60786078Otherwise, it returns one of the following errors:
60796079
60806080 * {CL_INVALID_COMMAND_QUEUE}
6081- ** if _command_queue_ is not a valid command-queue
6081+ ** if _command_queue_ is not a valid host command-queue
60826082 ** if the device associated with _command_queue_ is not one of the devices
60836083 specified by {CL_MEM_DEVICE_HANDLE_LIST_KHR} at the time of creating
60846084 one or more of _mem_objects_
@@ -6176,7 +6176,7 @@ is executed successfully.
61766176Otherwise, it returns one of the following errors:
61776177
61786178 * {CL_INVALID_COMMAND_QUEUE}
6179- ** if _command_queue_ is not a valid command-queue
6179+ ** if _command_queue_ is not a valid host command-queue
61806180 ** if device associated with _command_queue_ is not one of the devices
61816181 specified by {CL_MEM_DEVICE_HANDLE_LIST_KHR} at the time of creating
61826182 one or more of _mem_objects_
@@ -6368,23 +6368,26 @@ for a region of the buffer object being mapped.
63686368successfully.
63696369Otherwise, it returns one of the following errors:
63706370
6371- * {CL_INVALID_COMMAND_QUEUE} if _command_queue_ is not a valid host
6372- command-queue.
6373- * {CL_INVALID_MEM_OBJECT} if _memobj_ is not a valid memory object or is a
6374- pipe object.
6375- * {CL_INVALID_VALUE} if _mapped_ptr_ is not a valid pointer returned by
6376- {clEnqueueMapBuffer} or {clEnqueueMapImage} for _memobj_.
6377- * {CL_INVALID_EVENT_WAIT_LIST} if _event_wait_list_ is `NULL` and
6378- _num_events_in_wait_list_ > 0, or if _event_wait_list_ is not `NULL` and
6379- _num_events_in_wait_list_ is 0, or if event objects in _event_wait_list_
6380- are not valid events.
6381- * {CL_OUT_OF_RESOURCES} if there is a failure to allocate resources required
6382- by the OpenCL implementation on the device.
6383- * {CL_OUT_OF_HOST_MEMORY} if there is a failure to allocate resources
6384- required by the OpenCL implementation on the host.
6385- * {CL_INVALID_CONTEXT} if context associated with _command_queue_ and
6386- _memobj_ are not the same or if the context associated with
6387- _command_queue_ and events in _event_wait_list_ are not the same.
6371+ * {CL_INVALID_COMMAND_QUEUE}
6372+ ** if _command_queue_ is not a valid host command-queue
6373+ * {CL_INVALID_CONTEXT}
6374+ ** if the context associated with _command_queue_ and _memobj_ are not the same
6375+ ** if the context associated with _command_queue_ and events in _event_wait_list_ are not the same
6376+ * {CL_INVALID_MEM_OBJECT}
6377+ ** if _memobj_ is not a valid memory object
6378+ ** if _memobj_ is a pipe object
6379+ * {CL_INVALID_VALUE}
6380+ ** if _mapped_ptr_ is not a pointer returned by {clEnqueueMapBuffer} or {clEnqueueMapImage} for _memobj_
6381+ * {CL_INVALID_EVENT_WAIT_LIST}
6382+ ** if _event_wait_list_ is `NULL` and _num_events_in_wait_list_ greater than zero
6383+ ** if _event_wait_list_ is not `NULL` and _num_events_in_wait_list_ is zero
6384+ ** if event objects in _event_wait_list_ are not valid events
6385+ * {CL_OUT_OF_RESOURCES}
6386+ ** if there is a failure to allocate resources required by the OpenCL
6387+ implementation on the device
6388+ * {CL_OUT_OF_HOST_MEMORY}
6389+ ** if there is a failure to allocate resources required by the OpenCL
6390+ implementation on the host
63886391--
63896392
63906393
0 commit comments