Skip to content

[SYCL] Implement two-run aspect propagation #8681

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 splits aspect propagation into two runs:

  1. First run propagates all aspects, except fp64. Warnings are still issued for fp64 as if it was fully propagated, but the resulting metadata will not reflect it. This run before optimizations.
  2. Second run propagates all aspects, including fp64. This should not have any effect on already propagated aspects. This run will not issue warnings as any conflicts would have been reported by the first pass.

See the design document for more information.

This commit splits aspect propagation into two runs:
 1. First run propagates all aspects, except fp64. Warnings are still
    issued for fp64 as if it was fully propagated, but the resulting
    metadata will not reflect it. This run before optimizations.
 2. Second run propagates all aspects, including fp64. This should not
    have any effect on already propagated aspects. This run will not
    issue warnings as any conflicts would have been reported by the
    first pass.

Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
@steffenlarsen steffenlarsen requested a review from a team March 16, 2023 17:18
@steffenlarsen steffenlarsen requested review from a team as code owners March 16, 2023 17:18
@steffenlarsen steffenlarsen temporarily deployed to aws March 16, 2023 18:23 — with GitHub Actions Inactive
@steffenlarsen steffenlarsen temporarily deployed to aws March 16, 2023 19:35 — with GitHub Actions Inactive
Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
Copy link
Contributor

@premanandrao premanandrao left a comment

Choose a reason for hiding this comment

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

FE changes LGTM.

@steffenlarsen steffenlarsen temporarily deployed to aws March 21, 2023 23:01 — with GitHub Actions Inactive
@steffenlarsen steffenlarsen temporarily deployed to aws March 22, 2023 03:14 — with GitHub Actions Inactive
@steffenlarsen steffenlarsen merged commit 93a629a into intel:sycl Mar 22, 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.

5 participants