-
Notifications
You must be signed in to change notification settings - Fork 790
[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
Conversation
There was a problem hiding this 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.
This patch needs re-base - I see some conflicts right now when try using cherry-pick of this commit. |
Signed-off-by: Sergey V Maslov <[email protected]>
Rebased and addressed comments.
The key changes are into pi* dispatch to not use GNU "ifunc" extension for call forwarding. |
There was a problem hiding this 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...
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]