Skip to content

Commit 3bc0524

Browse files
authored
[SYCL] Enable SPV_INTEL_fpga_invocation_pipelining_attributes (#8827)
Right now it's only working for FPGA H/W while it should also work for FPGA emulator. Signed-off-by: Sidorov, Dmitry <[email protected]>
1 parent f19914a commit 3bc0524

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

clang/lib/Driver/ToolChains/Clang.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9563,13 +9563,13 @@ void SPIRVTranslator::ConstructJob(Compilation &C, const JobAction &JA,
95639563
",+SPV_INTEL_arithmetic_fence"
95649564
",+SPV_INTEL_global_variable_decorations"
95659565
",+SPV_INTEL_fpga_buffer_location"
9566-
",+SPV_INTEL_fpga_argument_interfaces";
9566+
",+SPV_INTEL_fpga_argument_interfaces"
9567+
",+SPV_INTEL_fpga_invocation_pipelining_attributes";
95679568
ExtArg = ExtArg + DefaultExtArg + INTELExtArg;
95689569
if (!C.getDriver().isFPGAEmulationMode())
95699570
// Enable several extensions on FPGA H/W exclusively
95709571
ExtArg += ",+SPV_INTEL_usm_storage_classes,+SPV_INTEL_runtime_aligned"
95719572
",+SPV_INTEL_fpga_cluster_attributes,+SPV_INTEL_loop_fuse"
9572-
",+SPV_INTEL_fpga_invocation_pipelining_attributes"
95739573
",+SPV_INTEL_fpga_dsp_control,+SPV_INTEL_fpga_memory_accesses"
95749574
",+SPV_INTEL_fpga_memory_attributes";
95759575
else

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
// CHECK-DEFAULT-SAME:,+SPV_INTEL_arithmetic_fence
4747
// CHECK-DEFAULT-SAME:,+SPV_INTEL_fpga_buffer_location
4848
// CHECK-DEFAULT-SAME:,+SPV_INTEL_fpga_argument_interfaces
49+
// CHECK-DEFAULT-SAME:,+SPV_INTEL_fpga_invocation_pipelining_attributes
4950
// CHECK-DEFAULT-SAME:,+SPV_INTEL_token_type
5051
// CHECK-DEFAULT-SAME:,+SPV_INTEL_bfloat16_conversion
5152
// CHECK-DEFAULT-SAME:,+SPV_INTEL_joint_matrix
@@ -77,7 +78,6 @@
7778
// CHECK-FPGA-HW-SAME:,+SPV_INTEL_usm_storage_classes
7879
// CHECK-FPGA-HW-SAME:,+SPV_INTEL_runtime_aligned
7980
// CHECK-FPGA-HW-SAME:,+SPV_INTEL_fpga_cluster_attributes,+SPV_INTEL_loop_fuse
80-
// CHECK-FPGA-HW-SAME:,+SPV_INTEL_fpga_invocation_pipelining_attributes
8181
// CHECK-FPGA-HW-SAME:,+SPV_INTEL_fpga_dsp_control
8282
// CHECK-FPGA-HW-SAME:,+SPV_INTEL_fpga_memory_accesses
8383
// CHECK-FPGA-HW-SAME:,+SPV_INTEL_fpga_memory_attributes"

0 commit comments

Comments
 (0)