Skip to content

Commit 15a7847

Browse files
committed
Add new SPV ext req
Signed-off-by: Larsen, Steffen <[email protected]>
1 parent 063342f commit 15a7847

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

clang/lib/Driver/ToolChains/Clang.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10557,7 +10557,8 @@ static void getTripleBasedSPIRVTransOpts(Compilation &C,
1055710557
",+SPV_INTEL_fpga_latency_control"
1055810558
",+SPV_KHR_shader_clock"
1055910559
",+SPV_INTEL_bindless_images"
10560-
",+SPV_INTEL_task_sequence";
10560+
",+SPV_INTEL_task_sequence"
10561+
",+SPV_INTEL_global_variable_host_access";
1056110562
ExtArg = ExtArg + DefaultExtArg + INTELExtArg;
1056210563
ExtArg += ",+SPV_INTEL_bfloat16_conversion"
1056310564
",+SPV_INTEL_joint_matrix"

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
// CHECK-CPU-SAME:,+SPV_INTEL_fpga_invocation_pipelining_attributes
7474
// CHECK-CPU-SAME:,+SPV_INTEL_fpga_latency_control
7575
// CHECK-CPU-SAME:,+SPV_INTEL_task_sequence
76+
// CHECK-CPU-SAME:,+SPV_INTEL_global_variable_host_access
7677
// CHECK-CPU-SAME:,+SPV_INTEL_bfloat16_conversion
7778
// CHECK-CPU-SAME:,+SPV_INTEL_joint_matrix
7879
// CHECK-CPU-SAME:,+SPV_INTEL_hw_thread_queries

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
// CHECK-CPU-SAME:,+SPV_INTEL_fpga_invocation_pipelining_attributes
9191
// CHECK-CPU-SAME:,+SPV_INTEL_fpga_latency_control
9292
// CHECK-CPU-SAME:,+SPV_INTEL_task_sequence
93+
// CHECK-CPU-SAME:,+SPV_INTEL_global_variable_host_access
9394
// CHECK-CPU-SAME:,+SPV_INTEL_bfloat16_conversion
9495
// CHECK-CPU-SAME:,+SPV_INTEL_joint_matrix
9596
// CHECK-CPU-SAME:,+SPV_INTEL_hw_thread_queries

clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,8 @@ getTripleBasedSPIRVTransOpts(const ArgList &Args,
878878
",+SPV_INTEL_fpga_latency_control"
879879
",+SPV_KHR_shader_clock"
880880
",+SPV_INTEL_bindless_images"
881-
",+SPV_INTEL_task_sequence";
881+
",+SPV_INTEL_task_sequence"
882+
",+SPV_INTEL_global_variable_host_access";
882883
ExtArg = ExtArg + DefaultExtArg + INTELExtArg;
883884
ExtArg += ",+SPV_INTEL_bfloat16_conversion"
884885
",+SPV_INTEL_joint_matrix"

0 commit comments

Comments
 (0)