Skip to content

Commit 79d19e7

Browse files
committed
[SYCL][Driver] Enable SPV_INTEL_memory_access_aliasing extension
Signed-off-by: Dmitry Sidorov <[email protected]>
1 parent bf5d9d5 commit 79d19e7

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
@@ -9055,7 +9055,8 @@ void SPIRVTranslator::ConstructJob(Compilation &C, const JobAction &JA,
90559055
ExtArg += ",+SPV_INTEL_token_type"
90569056
",+SPV_INTEL_bfloat16_conversion"
90579057
",+SPV_INTEL_joint_matrix"
9058-
",+SPV_INTEL_hw_thread_queries";
9058+
",+SPV_INTEL_hw_thread_queries"
9059+
",+SPV_INTEL_memory_access_aliasing";
90599060
TranslatorArgs.push_back(TCArgs.MakeArgString(ExtArg));
90609061
}
90619062
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
@@ -53,7 +53,8 @@
5353
// CHECK-DEFAULT-SAME:,+SPV_INTEL_token_type
5454
// CHECK-DEFAULT-SAME:,+SPV_INTEL_bfloat16_conversion
5555
// CHECK-DEFAULT-SAME:,+SPV_INTEL_joint_matrix
56-
// CHECK-DEFAULT-SAME:,+SPV_INTEL_hw_thread_queries"
56+
// CHECK-DEFAULT-SAME:,+SPV_INTEL_hw_thread_queries
57+
// CHECK-DEFAULT-SAME:,+SPV_INTEL_memory_access_aliasing"
5758
// CHECK-FPGA-HW: llvm-spirv{{.*}}"-spirv-ext=-all
5859
// CHECK-FPGA-HW-SAME:,+SPV_EXT_shader_atomic_float_add
5960
// CHECK-FPGA-HW-SAME:,+SPV_EXT_shader_atomic_float_min_max

0 commit comments

Comments
 (0)