Skip to content

Commit 31ac208

Browse files
authored
document error for kernel enqueue with a work-group size of zero (#1542)
1 parent ef2ed4b commit 31ac208

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

api/opencl_runtime_layer.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12149,6 +12149,7 @@ Otherwise, it returns one of the following errors:
1214912149
{size_t_TYPE} on the device associated with _command_queue_
1215012150
* {CL_INVALID_WORK_GROUP_SIZE}
1215112151
** if _local_work_size_ is not `NULL`, if the work-group size must be uniform, and if the _global_work_size_ is not evenly divisible by the _local_work_size_
12152+
** if _local_work_size_ is not `NULL` and if the total number of work-items in the work-group is zero
1215212153
** if _local_work_size_ is not `NULL` and if the total number of work-items in the work-group is greater than the maximum work-group size supported for _kernel_ on the device associated with _command_queue_ (is greater than the value returned for {CL_KERNEL_WORK_GROUP_SIZE})
1215312154
** if _local_work_size_ is not `NULL` and if the _local_work_size_ does not match the required work-group size for _kernel_
1215412155
** if _local_work_size_ is not `NULL` and if the _local_work_size_ is not consistent with the required number of sub-groups for _kernel_

0 commit comments

Comments
 (0)