Skip to content

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
AspectValue = ExtractSignedIntegerFromMDNodeOperand(Pair, 1);
} 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
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