Skip to content

[SYCL] Allow calls through constant expr function pointers #5390

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 7 commits into from
Jan 28, 2022

Conversation

Fznamznon
Copy link
Contributor

The current SYCL spec doesn't allow any indirect calls, but it makes sense
to allow indirect calls when called function pointer is a constant expression
because such calls are lowered to direct calls by the front-end.

The current SYCL spec doesn't allow any indirect calls, but it may make
sense to allow calls to constant expression function pointers because
they are lowered to direct calls by front-end.
@Fznamznon Fznamznon requested a review from a team as a code owner January 25, 2022 14:00
@Fznamznon
Copy link
Contributor Author

Thanks for the reviews everyone!

@bader bader merged commit e84c952 into intel:sycl Jan 28, 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.

7 participants