Skip to content

[SYCL] Get rid of ifunc GNU extension uses #313

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 1 commit into from
Jul 16, 2019
Merged

Conversation

smaslov-intel
Copy link
Contributor

Change resolution of PI interfaces from load-time to run-time. This is a step towards real plugins system, but more importantly it gets rid of "ifunc" GNU extension to be able to build on Windows. The key changes are in the definitions of "dispatch" in pi.hpp and pi_opencl.cpp

Signed-off-by: Sergey V Maslov [email protected]

bader
bader previously approved these changes Jul 14, 2019
Copy link
Contributor

@keryell keryell left a comment

Choose a reason for hiding this comment

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

Nice to have a specific ::pi:: namespace.
I do not understand the relation with the PR name.
I also have a few comments.

@v-klochkov
Copy link
Contributor

This patch needs re-base - I see some conflicts right now when try using cherry-pick of this commit.

@smaslov-intel
Copy link
Contributor Author

Rebased and addressed comments.

I do not understand the relation with the PR name.

The key changes are into pi* dispatch to not use GNU "ifunc" extension for call forwarding.

Copy link
Contributor

@keryell keryell left a comment

Choose a reason for hiding this comment

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

Thank you for the clarification. I missed the ifunc attribute in the middle of the commit...

@bader bader merged commit 0eeb240 into intel:sycl Jul 16, 2019
aelovikov-intel pushed a commit to aelovikov-intel/llvm that referenced this pull request Mar 27, 2023
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