From 2f9c0bb80ad06c99369f73da9ec8b4040627347c Mon Sep 17 00:00:00 2001 From: PietroGhg Date: Wed, 20 Mar 2024 20:08:06 +0100 Subject: [PATCH] [SYCL][E2E]Update Regression/multiple-targets.cpp (#13074) 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. --- sycl/test-e2e/Regression/multiple-targets.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sycl/test-e2e/Regression/multiple-targets.cpp b/sycl/test-e2e/Regression/multiple-targets.cpp index 13f136f8aa64a..d21f7c458aec2 100644 --- a/sycl/test-e2e/Regression/multiple-targets.cpp +++ b/sycl/test-e2e/Regression/multiple-targets.cpp @@ -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