Skip to content

Commit

Permalink
[SYCL][E2E]Update Regression/multiple-targets.cpp (#13074)
Browse files Browse the repository at this point in the history
Sets `spir64` instead of `spirv64` as SYCL target, uses lower case
`cuda` and `hip` for `REQUIRES` flags, adds `native_cpu` as a possible
required backend.
  • Loading branch information
PietroGhg committed Mar 20, 2024
1 parent 92f5b98 commit 2f9c0bb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions sycl/test-e2e/Regression/multiple-targets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
// It tests if the target triples can be specified with any order.
// The test is repeated for per_kernel device code splitting.
//
// REQUIRES: CUDA || HIP
// RUN: %clangxx -fsycl -fsycl-targets=%{sycl_triple},spirv64 -o %t.out %s
// REQUIRES: cuda || hip || native_cpu
// RUN: %clangxx -fsycl -fsycl-targets=%{sycl_triple},spir64 -o %t.out %s
// RUN: %{run} %t.out
//
// RUN: %clangxx -fsycl -fsycl-targets=spirv64,%{sycl_triple} -o %t.out %s
// RUN: %clangxx -fsycl -fsycl-targets=spir64,%{sycl_triple} -o %t.out %s
// RUN: %{run} %t.out
//
// RUN: %clangxx -fsycl -fsycl-targets=%{sycl_triple},spirv64 -fsycl-device-code-split=per_kernel -o %t.out %s
// RUN: %clangxx -fsycl -fsycl-targets=%{sycl_triple},spir64 -fsycl-device-code-split=per_kernel -o %t.out %s
// RUN: %{run} %t.out
//
// RUN: %clangxx -fsycl -fsycl-targets=spirv64,%{sycl_triple} -fsycl-device-code-split=per_kernel -o %t.out %s
// RUN: %clangxx -fsycl -fsycl-targets=spir64,%{sycl_triple} -fsycl-device-code-split=per_kernel -o %t.out %s
// RUN: %{run} %t.out
//
// XFAIL: hip_nvidia
Expand Down

0 comments on commit 2f9c0bb

Please sign in to comment.