Commit bba4f4d (#21738) introduced FunctionPropertyMetaInfo<T> as a separate parallel trait to the existing PropertyMetaInfo<T>, used by SYCL_EXT_ONEAPI_FUNCTION_PROPERTY on the lightweight free-function path. However, for every property that needs to work on both the property-list path and the free-function path, authors are now required to write two structurally identical specializations with the same name and value members.
Currently duplicated in free_function_kernel_properties.hpp:
work_group_size_key
work_group_size_hint_key
sub_group_size_key
max_work_group_size_key
max_linear_work_group_size_key
And in grf_size_properties.hpp:
grf_size_key / grf_size_automatic_key
Commit bba4f4d (#21738) introduced
FunctionPropertyMetaInfo<T>as a separate parallel trait to the existingPropertyMetaInfo<T>, used bySYCL_EXT_ONEAPI_FUNCTION_PROPERTYon the lightweight free-function path. However, for every property that needs to work on both the property-list path and the free-function path, authors are now required to write two structurally identical specializations with the samenameandvaluemembers.Currently duplicated in
free_function_kernel_properties.hpp:work_group_size_keywork_group_size_hint_keysub_group_size_keymax_work_group_size_keymax_linear_work_group_size_keyAnd in
grf_size_properties.hpp:grf_size_key/grf_size_automatic_key