Skip to content

Commit c62103b

Browse files
committed
document error for kernel enqueue with a work-group size of zero
1 parent 2419344 commit c62103b

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
@@ -12160,6 +12160,7 @@ Otherwise, it returns one of the following errors:
1216012160
{size_t_TYPE} on the device associated with _command_queue_
1216112161
* {CL_INVALID_WORK_GROUP_SIZE}
1216212162
** 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_
12163+
** if _local_work_size_ is not `NULL` and if the total number of work-items in the work-group is zero
1216312164
** 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})
1216412165
** if _local_work_size_ is not `NULL` and if the _local_work_size_ does not match the required work-group size for _kernel_
1216512166
** 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)