Skip to content

Conversation

@steffenlarsen
Copy link
Contributor

@steffenlarsen steffenlarsen commented Oct 11, 2022

This commit makes the following changes to the Clang frontend in preparation for the initial implementation of the
sycl_ext_oneapi_kernel_properties extension:

  • Fixed an issue preventing initializer lists of characters to be used as strings in add_ir_{attributes|annotations}_* attributes.
  • The add_ir_attributes_function will now be copied onto the generated kernel declaration from the recognized kernel_* functions.
  • Added a warning diagnostic for when a kernel has both an add_ir_attributes_function (with values) and one or more potentially conflicting SYCL attributes.

This is split from #6941.

This commit makes the following changes to the Clang frontend in
preparation for the initial implementation of the
sycl_ext_oneapi_kernel_properties extension:
* Fixed an issue preventing initializer lists of characters to be used
as strings in add_ir_{attributes|annotations}_* attributes.
* The add_ir_attributes_function will now be copied onto the generated
kernel declaration from the recognized kernel_* functions.
* Added a warning diagnostic for when a kernel has both an
add_ir_attributes_function (with values) and one or more potentially
conflicting SYCL attributes.

This is split from intel#6941.

Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
Copy link
Contributor

@elizabethandrews elizabethandrews left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM other than wording nit

Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
@steffenlarsen steffenlarsen merged commit 27454de into intel:sycl Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants