-
Notifications
You must be signed in to change notification settings - Fork 819
Open
Labels
Description
DPC++ already supports intel::max_work_group_size but though the documentation for the attribute specifies the behavior at SYCL level, the attribute does not have a related SYCL extension detailing the behavior. Such an extensions should be added.
Additional options for this extension specification:
- Allow 1-3 arguments in the attribute and add the requirement that the kernel must be launched with the same dimensionality as the attribute. This makes it in line with other SYCL 2020 core attributes for work groups (
sycl::reqd_work_group_sizeandsycl::work_group_size_hint). See discussion [SYCL] Change sycl::reqd_work_group_size with optional dimensions #7450 (comment). Add newsyclspelling, i.e.sycl::max_work_group_size.- Add a kernel compile-time property analogue. See https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/experimental/sycl_ext_oneapi_kernel_properties.asciidoc.
** Note: Since this would be experimental it may have to be in a separate extension.
Reactions are currently unavailable