Skip to content

[SYCL][NFC] Extract specialization constant's processing from sycl-post-link to SYCLPostLink library. #19022

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

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

Conversation

maksimsab
Copy link
Contributor

This change allows later reuse of specialization constant's processing in the New Offloading Model and sycl-jit.

…st-link to SYCLPostLink library.

This change allows later reuse in the New Offloading Model and sycl-jit.
@maksimsab maksimsab requested a review from a team as a code owner June 17, 2025 12:25
@maksimsab
Copy link
Contributor Author

The interface of a functionhandleSpecializationConstants is controversial. It allows to invoke the function in the following manner if you don't need to generate new modules with spec constants replaced by default values:

SmallVector<ModuleDesc> MDs;
Modified |= handleSpecializationConstants(MDs, Mode);

If you have a better alternative for the function's interface let me know.

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