Skip to content

Conversation

@asi-sc
Copy link
Contributor

@asi-sc asi-sc commented Nov 2, 2020

No description provided.

if (LangOpts.SYCLIsDevice && LangOpts.SYCLExplicitSIMD)
PerModulePasses.add(createGenXSPIRVWriterAdaptorPass());
PerModulePasses.add(
createGenXSPIRVWriterAdaptorPass(/*RewriteTypes=*/true));
Copy link
Contributor

Choose a reason for hiding this comment

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

I am not entirely sure what this change does. Can you provide some details in the commit description?
Please add an appropriate test as well.

Copy link
Contributor

@Fznamznon Fznamznon Nov 3, 2020

Choose a reason for hiding this comment

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

Yes, it would be great to have some context here. Although I'm not sure if front-end test is required. I think this thing enables some functionality of the GenXSPIRVWriterAdaptorPass which is likely already tested by LIT suite for this particular pass.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, I'll add some details in the next iteration of this change. We've realized that an additional change in vc-intrinsics (library where GenXSPIRVAdaptorPass comes from) is required. So, I mark the pull request as a draft for now.

@asi-sc asi-sc marked this pull request as draft November 3, 2020 10:46
@asi-sc
Copy link
Contributor Author

asi-sc commented Nov 16, 2020

The approach has been changed slightly in libigc vector compute backend. This change is no longer necessary.

@asi-sc asi-sc closed this Nov 16, 2020
jsji pushed a commit that referenced this pull request Sep 21, 2024
Per cl_intel_subgroups_short V 1.1.0 short16 is allowed for these
builtins.

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

Original commit:
KhronosGroup/SPIRV-LLVM-Translator@6895a2eb5d053d8
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.

3 participants