Skip to content

[SYCL] Disable RTTI for SYCL device compilation #11411

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
merged 3 commits into from
Oct 10, 2023

Conversation

elizabethandrews
Copy link
Contributor

@elizabethandrews elizabethandrews commented Oct 3, 2023

We do not support RTTI in kernel code. Do not emit type info during SYCL device compilation.
This aligns SYCL with other offloading targets like CUDA.

We do not support RTTI in kernel code. Do not
emit type info during SYCL device compilation.
This aligns SYCL with other offloading targets
liek CUDA.
@elizabethandrews elizabethandrews requested a review from a team as a code owner October 3, 2023 20:57
@elizabethandrews elizabethandrews temporarily deployed to WindowsCILock October 3, 2023 21:05 — with GitHub Actions Inactive
@elizabethandrews elizabethandrews temporarily deployed to WindowsCILock October 3, 2023 22:16 — with GitHub Actions Inactive
@elizabethandrews
Copy link
Contributor Author

ping @premanandrao @smanna12

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.

LGTM.

For my own curiosity, what was the removed test testing for? Couldn't tell if that was just basic functionality test.

@elizabethandrews
Copy link
Contributor Author

LGTM.

For my own curiosity, what was the removed test testing for? Couldn't tell if that was just basic functionality test.

It just checked IR for vtable and typeinfo. We've removed type info and since we already have another test checking vtable IR, I removed this test since it was superflous.

Copy link
Contributor

@smanna12 smanna12 left a comment

Choose a reason for hiding this comment

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

LGTM

@AlexeySachkov AlexeySachkov merged commit 6eb0c72 into intel:sycl Oct 10, 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.

4 participants