Skip to content

[SYCL][FE] Add an attribute to annotate special sycl types #2041

New issue

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

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

Already on GitHub? # to your account

Closed
Fznamznon opened this issue Jul 6, 2020 · 1 comment
Closed

[SYCL][FE] Add an attribute to annotate special sycl types #2041

Fznamznon opened this issue Jul 6, 2020 · 1 comment
Assignees
Labels
upstream This change is related to upstreaming SYCL support to llorg.

Comments

@Fznamznon
Copy link
Contributor

This is follow up task to address #1877 (comment) and probably https://reviews.llvm.org/D71016#inline-644645 .
To fix this we need to add an attribute to annotate SYCL types like accessor, sampler, image. It's much more reliable approach than declaration name, which introduces hard-coded dependency on exact symbol name in the runtime library.

@Fznamznon Fznamznon self-assigned this Jul 6, 2020
@bader bader added the upstream This change is related to upstreaming SYCL support to llorg. label Jan 25, 2021
@Fznamznon
Copy link
Contributor Author

I think it was implemented by #3892 and https://reviews.llvm.org/D114483

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
upstream This change is related to upstreaming SYCL support to llorg.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants