Skip to content

Commit 2881596

Browse files
committed
Split build line and add level_zero
1 parent 10a0773 commit 2881596

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

sycl/test-e2e/Basic/interop/interop_all_backends.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
// REQUIRES: cuda || hip
2-
// RUN: %{build} %if any-device-is-hip %{ -DSYCL_EXT_ONEAPI_BACKEND_HIP %} %else %{ %if any-device-is-cuda %{ -DSYCL_EXT_ONEAPI_BACKEND_CUDA_EXPERIMENTAL %} %else %{ %if any-device-is-level_zero %{ -DSYCL_EXT_ONEAPI_BACKEND_L0 %} %} %} -o %t.out
1+
// REQUIRES: cuda || hip || level_zero
2+
// RUN: %if any-device-is-hip %{ %{build} -DSYCL_EXT_ONEAPI_BACKEND_HIP -o %t-hip.out %}
3+
// RUN: %if any-device-is-cuda %{ %{build} -DSYCL_EXT_ONEAPI_BACKEND_CUDA_EXPERIMENTAL -o %t-cuda.out %}
4+
// RUN: %if any-device-is-level_zero %{ %{build} -DSYCL_EXT_ONEAPI_BACKEND_L0 -o %t-l0.out %}
35

46
#include <sycl/backend.hpp>
57
#include <sycl/detail/core.hpp>

0 commit comments

Comments
 (0)