Skip to content

Commit dce9ab3

Browse files
[SYCL][E2E] Fix regression in tests (#15511)
#15407 deprecated a flag without updating its uses in tests which fail due to `-Werror`.
1 parent d640ff4 commit dce9ab3

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

sycl/test-e2e/DeviceDependencies/free_function_kernels.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Ensure -fsycl-allow-device-dependencies can work with free function kernels.
22

33
// REQUIRES: aspect-usm_shared_allocations
4-
// RUN: %{build} -o %t.out -fsycl-allow-device-dependencies
4+
// RUN: %{build} -o %t.out -fsycl-allow-device-image-dependencies
55
// RUN: %{run} %t.out
66

77
// The name mangling for free function kernels currently does not work with PTX.

sycl/test-e2e/LLVMIntrinsicLowering/bitreverse.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
// Ensure that SPV_KHR_bit_instructions is disabled so that translator
99
// will lower llvm.bitreverse.* intrinsics instead of relying on SPIRV
1010
// BitReverse instruction.
11-
// Also build executable with SPV dump. Use -fno-sycl-allow-device-dependencies to
11+
// Also build executable with SPV dump. Use -fno-sycl-allow-device-image-dependencies to
1212
// ensure that only one SPV file is generated.
13-
// RUN: %{build} -Wno-error=psabi -Wno-error=constant-conversion -o %t.out -O2 -Xspirv-translator --spirv-ext=-SPV_KHR_bit_instructions -fsycl-dump-device-code=%t.spvdir -fno-sycl-allow-device-dependencies
13+
// RUN: %{build} -Wno-error=psabi -Wno-error=constant-conversion -o %t.out -O2 -Xspirv-translator --spirv-ext=-SPV_KHR_bit_instructions -fsycl-dump-device-code=%t.spvdir -fno-sycl-allow-device-image-dependencies
1414

1515
// Rename SPV file to explictly known filename.
1616
// RUN: mv %t.spvdir/*.spv %t.spvdir/dump.spv

sycl/test-e2e/LLVMIntrinsicLowering/sub_byte_bitreverse.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
// Ensure that SPV_KHR_bit_instructions is disabled so that translator
1414
// will lower llvm.bitreverse.* intrinsics instead of relying on SPIRV
1515
// BitReverse instruction.
16-
// Also build executable with SPV dump. Use -fno-sycl-allow-device-dependencies to
16+
// Also build executable with SPV dump. Use -fno-sycl-allow-device-image-dependencies to
1717
// ensure that only one SPV file is generated.
18-
// RUN: %{build} -o %t.out -O2 -Xspirv-translator --spirv-ext=-SPV_KHR_bit_instructions -fsycl-dump-device-code=%t.spvdir -fno-sycl-allow-device-dependencies
18+
// RUN: %{build} -o %t.out -O2 -Xspirv-translator --spirv-ext=-SPV_KHR_bit_instructions -fsycl-dump-device-code=%t.spvdir -fno-sycl-allow-device-image-dependencies
1919

2020
// Rename SPV file to explictly known filename.
2121
// RUN: mv %t.spvdir/*.spv %t.spvdir/dump.spv

0 commit comments

Comments
 (0)