Skip to content

FunctionPropertyMetaInfo and PropertyMetaInfo are duplicated for every property #22729

Description

@againull

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions