Skip to content

Commit 334d0e9

Browse files
authored
[SYCL] Enable SPV_INTEL_masked_gather_scatter extension (#7530)
1 parent 8ebd912 commit 334d0e9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

clang/lib/Driver/ToolChains/Clang.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9550,7 +9550,8 @@ void SPIRVTranslator::ConstructJob(Compilation &C, const JobAction &JA,
95509550
",+SPV_INTEL_bfloat16_conversion"
95519551
",+SPV_INTEL_joint_matrix"
95529552
",+SPV_INTEL_hw_thread_queries"
9553-
",+SPV_KHR_uniform_group_instructions";
9553+
",+SPV_KHR_uniform_group_instructions"
9554+
",+SPV_INTEL_masked_gather_scatter";
95549555
TranslatorArgs.push_back(TCArgs.MakeArgString(ExtArg));
95559556
}
95569557
for (auto I : Inputs) {

clang/test/Driver/sycl-spirv-ext.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@
4848
// CHECK-DEFAULT-SAME:,+SPV_INTEL_bfloat16_conversion
4949
// CHECK-DEFAULT-SAME:,+SPV_INTEL_joint_matrix
5050
// CHECK-DEFAULT-SAME:,+SPV_INTEL_hw_thread_queries
51-
// CHECK-DEFAULT-SAME:,+SPV_KHR_uniform_group_instructions"
51+
// CHECK-DEFAULT-SAME:,+SPV_KHR_uniform_group_instructions
52+
// CHECK-DEFAULT-SAME:,+SPV_INTEL_masked_gather_scatter"
5253
// CHECK-FPGA-HW: llvm-spirv{{.*}}"-spirv-ext=-all
5354
// CHECK-FPGA-HW-SAME:,+SPV_EXT_shader_atomic_float_add
5455
// CHECK-FPGA-HW-SAME:,+SPV_EXT_shader_atomic_float_min_max

0 commit comments

Comments
 (0)