Skip to content

[SYCL] Fix specialization constants struct members #2232

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
Aug 4, 2020

Conversation

Fznamznon
Copy link
Contributor

FE crashed on attempt to create initializer for struct with spec
constant members because there was no initializers for spec const
fields. Added default initialization for spec constants.

FE crashed on attempt to create initializer for struct with spec
constant members because there was no initializers for spec const
fields. Added default initialization for spec constants.
@Fznamznon Fznamznon requested a review from kbobrovs July 31, 2020 15:01
@Fznamznon Fznamznon requested a review from s-kanaev July 31, 2020 15:01
@Fznamznon
Copy link
Contributor Author

/summary:run

kbobrovs
kbobrovs previously approved these changes Jul 31, 2020
Copy link
Contributor

@kbobrovs kbobrovs left a comment

Choose a reason for hiding this comment

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

SC part LGTM

Copy link
Contributor

@s-kanaev s-kanaev left a comment

Choose a reason for hiding this comment

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

I think I'm not the right person to review this patch.
Though, the code looks good except for this change in access mode of spec_const constructor.

premanandrao
premanandrao previously approved these changes Aug 3, 2020
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 part looks good to me.

@Fznamznon Fznamznon dismissed stale reviews from premanandrao and kbobrovs via 4afa5f9 August 3, 2020 15:41
@Fznamznon Fznamznon requested review from s-kanaev and kbobrovs August 3, 2020 18:00
@Fznamznon
Copy link
Contributor Author

@s-kanaev , @kbobrovs , could you please give a formal approve? There was no functional changes in spec const part and runtime test.

@s-kanaev
Copy link
Contributor

s-kanaev commented Aug 4, 2020

@Fznamznon Sorry, I've missed the notification somehow.

@kbobrovs kbobrovs merged commit d5a7f20 into intel:sycl Aug 4, 2020
jsji pushed a commit that referenced this pull request Nov 30, 2023
…ter (#2232)

This fixes reverse translation for SPV_INTEL_fpga_memory_accesses.
Theoretically it fixes more, but seems like without the extension we
don't generate UserSemantic decoration in this case at all. Will
be investigated separately.

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>

Original commit:
KhronosGroup/SPIRV-LLVM-Translator@ef0165a
Chenyang-L pushed a commit that referenced this pull request Feb 18, 2025
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