-
Notifications
You must be signed in to change notification settings - Fork 769
[SYCL][ABI-Break] Drop pi::die
#14626
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
[SYCL][ABI-Break] Drop pi::die
#14626
Conversation
It is not used from SYCL headers, there is no reason for it to be exported.
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.
I don't know how we can be sure it isn't used on some code path that isn't instantiated in our tests.
You mean someone uses it directly in their application? I did |
No, only internal (current and future) uses. In other words, I don't like that there is implicit dependency of not using this inside our header resulting in the symbol used in user's program. To clarify - if the symbol is only used under |
Thanks, I see, that makes sense. It is also used by plugins, but I suppose that I can define it in every plugin as well as a temporary measure until they are deleted |
Plugins currently use their own definition of
|
pi::die
It is not used from SYCL headers, there is no reason for it to be exported and moreover it only has a single use since
pi::assertion
was removed.This is patch is essentially a by-product of #14145 and it is done to simplify that change, i.e. PI plugins removal should not be ABI-breaking by itself, we just need to cleanup some of our exported symbols.