KhronosGroup / KhronosGroup/SYCL-Docs
info::kernel_device_specific::max_sub_group_size on backends with work-group size dependence
- Dominant language
- JavaScript
- Stars
- 158
- Forks
- 80
- Avg merge
- 7d 6h
- Merged PRs (30d)
- 5
Description
On OpenCL the closest parallel to `kernel::get_info(device)` is [`clGetKernelSubGroupInfo` with `CL_KERNEL_MAX_SUB_GROUP_SIZE_FOR_NDRANGE`](https://registry.khronos.org/OpenCL/sdk/2.2/docs/man/html/clGetKernelSubGroupInfo.html). However, this particular information query requires information about the size of the work-group that the returned sub-group size is a max for. However, the SYCL 2020 specification only states:
> Returns the maximum sub-group size for this kernel.
for [`info::kernel_device_specific::max_sub_group_size`](https://registry.khronos.org/SYCL/specs/sycl-2020/html/sycl-2020.html#_kernel_information_descriptors). In a case like this, what work-group size is it the max sub-group size for? Should this be clarified?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.