Skip to content

Commit 8ba3baa

Browse files
committed
consistent text treatment for NULL
1 parent ee72fe3 commit 8ba3baa

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

api/opencl_runtime_layer.asciidoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11950,16 +11950,16 @@ Otherwise, it returns one of the following errors:
1195011950
SVM or the required SVM capabilities for the SVM pointer.
1195111951
* {CL_INVALID_WORK_DIMENSION} if _work_dim_ is not a valid value (i.e. a
1195211952
value between 1 and {CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS}).
11953-
* {CL_INVALID_GLOBAL_WORK_SIZE} if _global_work_size_ is NULL or if any of
11954-
the values specified in _global_work_size_ are 0.
11953+
* {CL_INVALID_GLOBAL_WORK_SIZE} if _global_work_size_ is `NULL` or if any of
11954+
the values specified in _global_work_size_ are zero.
1195511955
* {CL_INVALID_GLOBAL_WORK_SIZE} if any of the values specified in
1195611956
_global_work_size_ exceed the maximum value representable by `size_t` on
1195711957
the device associated with _command_queue_.
1195811958
* {CL_INVALID_GLOBAL_OFFSET} if the value specified in _global_work_size_
1195911959
plus the corresponding value in _global_work_offset_ for dimension
1196011960
exceeds the maximum value representable by `size_t` on the device
1196111961
associated with _command_queue_.
11962-
* {CL_INVALID_VALUE} if _suggested_local_work_size_ is NULL.
11962+
* {CL_INVALID_VALUE} if _suggested_local_work_size_ is `NULL`.
1196311963
* {CL_OUT_OF_RESOURCES} if there is a failure to allocate resources
1196411964
required by the OpenCL implementation on the device.
1196511965
* {CL_OUT_OF_HOST_MEMORY} if there is a failure to allocate resources
@@ -12119,7 +12119,7 @@ Otherwise, it returns one of the following errors:
1211912119
in _global_work_offset_ for any dimensions is greater than the maximum value
1212012120
representable by {size_t_TYPE} on the device associated with _command_queue_
1212112121
* {CL_INVALID_GLOBAL_WORK_SIZE}
12122-
** if _global_work_size_ is NULL or if any of the values specified in
12122+
** if _global_work_size_ is `NULL` or if any of the values specified in
1212312123
_global_work_size_[0], ... _global_work_size_[_work_dim_ - 1] are zero.
1212412124
This error condition does not apply when the device associated with
1212512125
_command_queue_ supports OpenCL 2.1 or newer.
@@ -13891,7 +13891,7 @@ be provided for semaphores created from
1389113891
{clEnqueueWaitSemaphoresKHR} and {clEnqueueSignalSemaphoresKHR} may return
1389213892
{CL_INVALID_VALUE} if _sema_objects_ list has one or more semaphores
1389313893
obtained from {CL_SEMAPHORE_HANDLE_D3D12_FENCE_KHR} and _sema_payload_list_
13894-
is NULL.
13894+
is `NULL`.
1389513895

1389613896
endif::cl_khr_external_semaphore_dx_fence[]
1389713897

@@ -16701,7 +16701,7 @@ one of the errors below is returned:
1670116701
_configs_ is not `NULL` and _num_configs_ is 0.
1670216702
* {CL_INVALID_VALUE} if any element of _config_types_ is not a valid
1670316703
{cl_command_buffer_update_type_khr_TYPE} enum.
16704-
* {CL_INVALID_VALUE} if any element of _configs_ is NULL.
16704+
* {CL_INVALID_VALUE} if any element of _configs_ is `NULL`.
1670516705
* {CL_OUT_OF_RESOURCES} if there is a failure to allocate resources
1670616706
required by the OpenCL implementation on the device.
1670716707
* {CL_OUT_OF_HOST_MEMORY} if there is a failure to allocate resources

0 commit comments

Comments
 (0)