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] Record aspect names when computing device requirements #13974

Merged
merged 5 commits into from
Jun 7, 2024

Conversation

jzc
Copy link
Contributor

@jzc jzc commented May 30, 2024

After #13486, aspect name information is visible in sycl-post-link without the use of !sycl_aspects, so this PR updates sycl-post-link to use the aspect names that are now available within the !sycl_used_aspects metadata instead of !sycl_aspects.

Aditionally, this PR also adds E2E related to optional kernel features for AOT enabled by these changes

@jzc jzc requested a review from a team as a code owner May 30, 2024 15:11
@jzc jzc temporarily deployed to WindowsCILock May 30, 2024 15:42 — with GitHub Actions Inactive
@jzc jzc temporarily deployed to WindowsCILock May 30, 2024 17:31 — with GitHub Actions Inactive
} else {
Val = mdconst::extract<ConstantInt>(MDOp)->getZExtValue();
AspectValue = ExtractSignedIntegerFromMDNodeOperand(MDN, I);
Copy link
Contributor

Choose a reason for hiding this comment

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

Just for my understanding: we could have a non-pair value in case of an internal aspect with a negative value and no name, right? Plus, it should serve as path for backwards compatibility if we link object files produced by an older toolchain, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, those are both correct.

@jzc jzc temporarily deployed to WindowsCILock June 4, 2024 18:06 — with GitHub Actions Inactive
@jzc jzc temporarily deployed to WindowsCILock June 4, 2024 19:53 — with GitHub Actions Inactive
@AlexeySachkov AlexeySachkov merged commit 4e36825 into intel:sycl Jun 7, 2024
13 checks passed
ianayl pushed a commit to ianayl/sycl that referenced this pull request Jun 13, 2024
…13974)

After intel#13486, aspect name information is visible in `sycl-post-link`
without the use of `!sycl_aspects`, so this PR updates `sycl-post-link`
to use the aspect names that are now available within the
`!sycl_used_aspects` metadata instead of `!sycl_aspects`.

Aditionally, this PR also adds E2E related to optional kernel features
for AOT enabled by these changes
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