Skip to content

[SYCL] Use uniform group instructions in headers #5705

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 4 commits into from
Mar 22, 2022

Conversation

aobolensk
Copy link
Contributor

No description provided.

@KornevNikita
Copy link
Contributor

There are changes in extension vendor & operations name. @MrSidims will we promote it as INTEL extension now and then change it to KHR?

@MrSidims
Copy link
Contributor

MrSidims commented Mar 2, 2022

@aobolensk please update the instructions' names to the names used here: KhronosGroup/SPIRV-Registry#138

@@ -49,3 +49,4 @@ EXT(SPV_INTEL_bfloat16_conversion)
EXT(SPV_INTEL_joint_matrix)
EXT(SPV_INTEL_hw_thread_queries)
EXT(SPV_INTEL_global_variable_decorations)
EXT(SPV_KHR_uniform_group_instructions)
Copy link
Contributor

@KornevNikita KornevNikita Mar 3, 2022

Choose a reason for hiding this comment

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

I don't sure if we need it here, until the extension is ready and transfered to intel/llvm repository: KhronosGroup/SPIRV-LLVM-Translator#1253. The same about Clang.cpp. @MrSidims WDYT?

Copy link
Contributor

Choose a reason for hiding this comment

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

@aobolensk please remove this change from the translator, let the translator's work be merged and pulled to intel/llvm first.

@@ -49,3 +49,4 @@ EXT(SPV_INTEL_bfloat16_conversion)
EXT(SPV_INTEL_joint_matrix)
EXT(SPV_INTEL_hw_thread_queries)
EXT(SPV_INTEL_global_variable_decorations)
EXT(SPV_KHR_uniform_group_instructions)
Copy link
Contributor

Choose a reason for hiding this comment

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

@aobolensk please remove this change from the translator, let the translator's work be merged and pulled to intel/llvm first.

@@ -9119,7 +9119,8 @@ void SPIRVTranslator::ConstructJob(Compilation &C, const JobAction &JA,
std::string DefaultExtArg =
",+SPV_EXT_shader_atomic_float_add,+SPV_EXT_shader_atomic_float_min_max"
",+SPV_KHR_no_integer_wrap_decoration,+SPV_KHR_float_controls"
",+SPV_KHR_expect_assume,+SPV_KHR_linkonce_odr";
",+SPV_KHR_expect_assume,+SPV_KHR_linkonce_odr"
",+SPV_KHR_uniform_group_instructions";
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's enable the extension on any target but FPGA H/W aka move this code to line 9154.

@KornevNikita
Copy link
Contributor

@aobolensk KhronosGroup/SPIRV-LLVM-Translator#1253 is in intel/llvm now

@aobolensk aobolensk force-pushed the uniform_group_instructions branch from 5a4bed5 to 121db8b Compare March 18, 2022 15:25
@aobolensk
Copy link
Contributor Author

@aobolensk KhronosGroup/SPIRV-LLVM-Translator#1253 is in intel/llvm now

Thanks! Rebased this on top of merged change

@aobolensk aobolensk marked this pull request as ready for review March 21, 2022 07:20
@aobolensk aobolensk requested review from a team as code owners March 21, 2022 07:20
Copy link
Contributor

@alexbatashev alexbatashev left a comment

Choose a reason for hiding this comment

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

Runtime LGTM

Copy link
Contributor

@Fznamznon Fznamznon left a comment

Choose a reason for hiding this comment

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

FE changes look ok.

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.

FE changes look good to me!

Copy link
Contributor

@hchilama hchilama left a comment

Choose a reason for hiding this comment

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

Driver files look ok.

steffenlarsen added a commit to steffenlarsen/llvm that referenced this pull request Jun 9, 2022
…nsions

intel#5705 changed the use of NonUniform
group binary operators to the KHR extension operators. These changes
rename the implementation of these in libclc for both amdgcn and PTX to
the new naming.

Signed-off-by: Larsen, Steffen <[email protected]>
pvchupin pushed a commit that referenced this pull request Jun 9, 2022
…nsions (#6279)

#5705 changed the use of NonUniform
group binary operators to the KHR extension operators. These changes
rename the implementation of these in libclc for both amdgcn and PTX to
the new naming.

Signed-off-by: Larsen, Steffen <[email protected]>
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.

8 participants