File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -272,12 +272,10 @@ cl_int clEnqueueTranslateToTensor(
272272* _blocking_command_ indicate if the read and write operations are
273273 blocking or non-blocking (see below).
274274
275- * _buffer_ refers to a valid buffer object where data is to be
276- read into or to be written from when the value of _host_ptr_ is
277- NULL. If _host_ptr_ is non-NULL then value of _buffer_ is ignored.
278-
279- * _host_ptr_ is the pointer to buffer in host memory where data is to
280- be read into or to be written from when the value is non-NULL.
275+ * _buffer_ and _host_ptr_ refer to a valid buffer object / host
276+ allocation where data is to be read into or to be written from.
277+ Either the _buffer_ or _host_ptr_ can be non-NULL in which case the
278+ non-NULL argument is used as the operand for the operation.
281279
282280* _event_wait_list_ and _num_events_in_wait_list_ specify events that
283281 need to complete before this particular command can be executed. If
You can’t perform that action at this time.
0 commit comments