Skip to content

[SYCL] Refactor program build and cache #8104

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

In order to help device_global find associated programs in the cache, the way the program manager and the cache interacts needs a refactoring. This commit makes this refactoring.

Additionally this adds the notion of a "common key" (CommonProgramKeyT) representing the common parts of the full cache key shared between builds of the same program on the same device, excluding specializations such as specialization constants and compilation options.

In order to help device_global find associated programs in the cache,
the way the program manager and the cache interacts needs a refactoring.
This commit makes this refactoring.

Additionally this adds the notion of a "common key" (CommonProgramKeyT)
representing the common parts of the full cache key shared between
builds of the same program on the same device, excluding specializations
such as specialization constants and compilation options.

Signed-off-by: Larsen, Steffen <[email protected]>
Signed-off-by: Larsen, Steffen <[email protected]>
@aelovikov-intel aelovikov-intel self-requested a review January 25, 2023 19:05
@steffenlarsen steffenlarsen temporarily deployed to aws January 25, 2023 19:29 — with GitHub Actions Inactive
Copy link
Contributor

@sergey-semenov sergey-semenov left a comment

Choose a reason for hiding this comment

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

Minor comment aside, LGTM

Signed-off-by: Larsen, Steffen <[email protected]>
@steffenlarsen steffenlarsen temporarily deployed to aws February 2, 2023 14:08 — with GitHub Actions Inactive
@steffenlarsen steffenlarsen temporarily deployed to aws February 2, 2023 14:39 — with GitHub Actions Inactive
@bader bader merged commit 2032ce4 into intel:sycl Feb 3, 2023
bader added a commit that referenced this pull request Feb 3, 2023
bader added a commit that referenced this pull request Feb 3, 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.

3 participants