Skip to content

[SYCL] Remove diagnostics emission from Integration header functionality #2474

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Sep 18, 2020

Conversation

srividya-sundaram
Copy link
Contributor

@srividya-sundaram srividya-sundaram commented Sep 15, 2020

Using Clang's Visitor classes to walk the template type parameter - KernelName to emit the following diagnostics:

  • Kernel name is invalid. Unscoped enum requires fixed underlying type - enum in template params
  • Kernel needs to have a globally-visible name
  • Kernel name is missing

@srividya-sundaram srividya-sundaram changed the title [SYCL] Remove dignostics emission from Integration header functionality [SYCL][WIP] Remove dignostics emission from Integration header functionality Sep 15, 2020
@Fznamznon
Copy link
Contributor

@srividya-sundaram , please update your branch, it seems quite old, so even buildbots cannot checkin your changes.

@srividya-sundaram srividya-sundaram removed the request for review from erichkeane September 16, 2020 04:25
Copy link
Contributor

@Fznamznon Fznamznon left a comment

Choose a reason for hiding this comment

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

I think we need to convert this PR from draft to regular PR and proceed with review together with other codeowners.

@srividya-sundaram srividya-sundaram changed the title [SYCL][WIP] Remove dignostics emission from Integration header functionality [SYCL] Remove dignostics emission from Integration header functionality Sep 17, 2020
@Fznamznon Fznamznon changed the title [SYCL] Remove dignostics emission from Integration header functionality [SYCL] Remove diagnostics emission from Integration header functionality Sep 17, 2020
@srividya-sundaram srividya-sundaram marked this pull request as ready for review September 17, 2020 14:57
@Fznamznon Fznamznon linked an issue Sep 17, 2020 that may be closed by this pull request
Fznamznon
Fznamznon previously approved these changes Sep 17, 2020
Copy link
Contributor

@Fznamznon Fznamznon left a comment

Choose a reason for hiding this comment

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

Looks good to me. But I'd like @elizabethandrews and @premanandrao to take a look as well.

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 except for small nit

@romanovvlad romanovvlad merged commit a09aed0 into intel:sycl Sep 18, 2020
kbenzie pushed a commit to kbenzie/intel-llvm that referenced this pull request Feb 17, 2025
…strings

[L0] Fix use after free with Module build strings
Chenyang-L pushed a commit that referenced this pull request Feb 18, 2025
[L0] Fix use after free with Module build strings
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.

[SYCL] Diagnostics should be generated at point of kernel invocation
6 participants