Skip to content

[SYCL] Set specialization constants in sycl::compile #8166

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

Conversation

steffenlarsen
Copy link
Contributor

This commit makes sycl::compile set specialization constants. The functionality for this is combined with that used by sycl::build.

This commit makes sycl::compile set specialization constants. The
functionailty for this is combined with that used by sycl::build.

Signed-off-by: Larsen, Steffen <[email protected]>
}
}
}
setSpecializationConstants(InputImpl, NativePrg, Plugin);
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we fold enableITTAnnotationsIfNeeded(NativePrg, Plugin) into the helper as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We cannot fully merge it as it is used in another place that sets specialization constants differently. However, we may as well call it inside setSpecializationConstants.

@steffenlarsen steffenlarsen temporarily deployed to aws January 31, 2023 19:31 — with GitHub Actions Inactive
@steffenlarsen steffenlarsen temporarily deployed to aws January 31, 2023 21:16 — with GitHub Actions Inactive
@steffenlarsen
Copy link
Contributor Author

/testwin

@steffenlarsen
Copy link
Contributor Author

/verify with intel/llvm-test-suite#1560

@steffenlarsen steffenlarsen temporarily deployed to aws February 1, 2023 11:23 — with GitHub Actions Inactive
@steffenlarsen steffenlarsen temporarily deployed to aws February 1, 2023 12:16 — with GitHub Actions Inactive
Signed-off-by: Larsen, Steffen <[email protected]>
@steffenlarsen
Copy link
Contributor Author

/verify with intel/llvm-test-suite#1560

@steffenlarsen steffenlarsen temporarily deployed to aws February 1, 2023 20:29 — with GitHub Actions Inactive
@steffenlarsen steffenlarsen temporarily deployed to aws February 1, 2023 21:29 — with GitHub Actions Inactive
@steffenlarsen steffenlarsen temporarily deployed to aws February 2, 2023 10:17 — with GitHub Actions Inactive
@steffenlarsen steffenlarsen temporarily deployed to aws February 2, 2023 10:48 — with GitHub Actions Inactive
@steffenlarsen steffenlarsen temporarily deployed to aws February 2, 2023 11:43 — with GitHub Actions Inactive
@steffenlarsen steffenlarsen temporarily deployed to aws February 2, 2023 12:14 — with GitHub Actions Inactive
@steffenlarsen steffenlarsen merged commit 33cd6b1 into intel:sycl Feb 2, 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.

2 participants