Skip to content
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] Remove some OSUtil::* funcs from ABI under -fpreview-breaking-changes #16177

Open
wants to merge 1 commit into
base: sycl
Choose a base branch
from

Conversation

aelovikov-intel
Copy link
Contributor

These are used internally in the DSO and don't need to be exposed outside.

OSUtil::getDirName will become static inside single TU under the -fprivew-... flag and private for the time being without the flag (to make sure no new uses will be added outside the TU).

OSUtil::getCurrentDSODir is used in several TUs, so simply make it __SYCL_DLL_LOCAL to remove from exported symbols during the next ABI-breaking window.

…ng-changes`

These are used internally in the DSO and don't need to be exposed
outside.

`OSUtil::getDirName` can be `static` will become static inside single TU
under the `-fprivew-...` flag and `private` for the time being without
the flag (to make sure no new uses will be added outside the TU).

`OSUtil::getCurrentDSODir` is used in several TUs, so simply make it
`__SYCL_DLL_LOCAL` to remove from exported symbols during the next
ABI-breaking window.
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.

1 participant