Skip to content

[SYCL][E2E] Fix regression in tests #15511

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Ensure -fsycl-allow-device-dependencies can work with free function kernels.

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

// The name mangling for free function kernels currently does not work with PTX.
Expand Down
4 changes: 2 additions & 2 deletions sycl/test-e2e/LLVMIntrinsicLowering/bitreverse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
// Ensure that SPV_KHR_bit_instructions is disabled so that translator
// will lower llvm.bitreverse.* intrinsics instead of relying on SPIRV
// BitReverse instruction.
// Also build executable with SPV dump. Use -fno-sycl-allow-device-dependencies to
// Also build executable with SPV dump. Use -fno-sycl-allow-device-image-dependencies to
// ensure that only one SPV file is generated.
// 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
// 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

// Rename SPV file to explictly known filename.
// RUN: mv %t.spvdir/*.spv %t.spvdir/dump.spv
Expand Down
4 changes: 2 additions & 2 deletions sycl/test-e2e/LLVMIntrinsicLowering/sub_byte_bitreverse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
// Ensure that SPV_KHR_bit_instructions is disabled so that translator
// will lower llvm.bitreverse.* intrinsics instead of relying on SPIRV
// BitReverse instruction.
// Also build executable with SPV dump. Use -fno-sycl-allow-device-dependencies to
// Also build executable with SPV dump. Use -fno-sycl-allow-device-image-dependencies to
// ensure that only one SPV file is generated.
// 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
// 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

// Rename SPV file to explictly known filename.
// RUN: mv %t.spvdir/*.spv %t.spvdir/dump.spv
Expand Down
Loading