Skip to content

Commit 056f790

Browse files
authored
[SYCL] Make ESIMD on-device tests require linux,gpu,opencl. (#2560)
This is the only SW/HW combination ESIMD is supported on for now. Signed-off-by: Konstantin S Bobrovsky <[email protected]>
1 parent 4785f47 commit 056f790

17 files changed

+34
-51
lines changed

sycl/test/esimd/on-device/BitonicSortK.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// TODO enable on Windows
9-
// REQUIRES: linux
10-
// REQUIRES: gpu
8+
// TODO enable on Windows and Level Zero
9+
// REQUIRES: linux && gpu && opencl
1110
// RUN: %clangxx-esimd -fsycl %s -o %t.out
1211
// RUN: %ESIMD_RUN_PLACEHOLDER %t.out
1312

sycl/test/esimd/on-device/BitonicSortKv2.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// TODO enable on Windows
9-
// REQUIRES: linux
10-
// REQUIRES: gpu
8+
// TODO enable on Windows and Level Zero
9+
// REQUIRES: linux && gpu && opencl
1110
// RUN: %clangxx-esimd -fsycl %s -o %t.out
1211
// RUN: env SYCL_DEVICE_TYPE=HOST %t.out
1312
// RUN: %ESIMD_RUN_PLACEHOLDER %t.out

sycl/test/esimd/on-device/accessor.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// TODO enable on Windows
9-
// REQUIRES: linux
10-
// REQUIRES: gpu
8+
// TODO enable on Windows and Level Zero
9+
// REQUIRES: linux && gpu && opencl
1110
// RUN: %clangxx-esimd -fsycl -D_CRT_SECURE_NO_WARNINGS=1 %s -o %t.out
1211
// RUN: %ESIMD_RUN_PLACEHOLDER %t.out
1312

sycl/test/esimd/on-device/histogram.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// TODO enable on Windows
9-
// REQUIRES: linux
10-
// REQUIRES: gpu
8+
// TODO enable on Windows and Level Zero
9+
// REQUIRES: linux && gpu && opencl
1110
// RUN: %clangxx-esimd -fsycl %s -o %t.out
1211
// RUN: env SYCL_DEVICE_TYPE=HOST %t.out
1312
// RUN: %ESIMD_RUN_PLACEHOLDER %t.out

sycl/test/esimd/on-device/histogram_256_slm.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// TODO enable on Windows
9-
// REQUIRES: linux
10-
// REQUIRES: gpu
8+
// TODO enable on Windows and Level Zero
9+
// REQUIRES: linux && gpu && opencl
1110
// RUN: %clangxx-esimd -fsycl %s -o %t.out
1211
// RUN: %ESIMD_RUN_PLACEHOLDER %t.out
1312

sycl/test/esimd/on-device/histogram_2d.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// TODO enable on Windows
9-
// REQUIRES: linux
10-
// REQUIRES: gpu
8+
// TODO enable on Windows and Level Zero
9+
// REQUIRES: linux && gpu && opencl
1110
// RUN: %clangxx-esimd -fsycl %s -o %t.out
1211
// RUN: env SYCL_DEVICE_TYPE=HOST %t.out
1312
// RUN: %ESIMD_RUN_PLACEHOLDER %t.out

sycl/test/esimd/on-device/kmeans/kmeans.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// TODO enable on Windows
9-
// REQUIRES: linux
10-
// REQUIRES: gpu
8+
// TODO enable on Windows and Level Zero
9+
// REQUIRES: linux && gpu && opencl
1110
// RUN: %clangxx-esimd -fsycl %s -I%S/.. -o %t.out
1211
// RUN: env SYCL_DEVICE_TYPE=HOST %t.out %S/points.big.json
1312
// RUN: %ESIMD_RUN_PLACEHOLDER %t.out %S/points.big.json

sycl/test/esimd/on-device/linear/linear.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// TODO enable on Windows
9-
// REQUIRES: linux
10-
// REQUIRES: gpu
8+
// TODO enable on Windows and Level Zero
9+
// REQUIRES: linux && gpu && opencl
1110
// RUN: %clangxx-esimd -fsycl %s -I%S/.. -o %t.out
1211
// RUN: env SYCL_DEVICE_TYPE=HOST %t.out %S/linear_in.bmp %S/linear_gold_hw.bmp
1312
// RUN: %ESIMD_RUN_PLACEHOLDER %t.out %S/linear_in.bmp %S/linear_gold_hw.bmp

sycl/test/esimd/on-device/mandelbrot/mandelbrot.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// TODO enable on Windows
9-
// REQUIRES: linux
10-
// REQUIRES: gpu
8+
// TODO enable on Windows and Level Zero
9+
// REQUIRES: linux && gpu && opencl
1110
// RUN: %clangxx-esimd -fsycl %s -I%S/.. -o %t.out
1211
// RUN: %ESIMD_RUN_PLACEHOLDER %t.out %S/output.ppm %S/golden_hw.ppm
1312

sycl/test/esimd/on-device/matrix_transpose.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// TODO enable on Windows
9-
// REQUIRES: linux
10-
// REQUIRES: gpu
8+
// TODO enable on Windows and Level Zero
9+
// REQUIRES: linux && gpu && opencl
1110
// RUN: %clangxx-esimd -fsycl %s -o %t.out
1211
// RUN: %ESIMD_RUN_PLACEHOLDER %t.out
1312

sycl/test/esimd/on-device/matrix_transpose_glb.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// TODO enable on Windows
9-
// REQUIRES: linux
10-
// REQUIRES: gpu
8+
// TODO enable on Windows and Level Zero
9+
// REQUIRES: linux && gpu && opencl
1110
// RUN: %clangxx-esimd -fsycl %s -o %t.out
1211
// RUN: %ESIMD_RUN_PLACEHOLDER %t.out
1312
// XFAIL: linux

sycl/test/esimd/on-device/matrix_transpose_usm.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// TODO enable on Windows
9-
// REQUIRES: linux
10-
// REQUIRES: gpu
8+
// TODO enable on Windows and Level Zero
9+
// REQUIRES: linux && gpu && opencl
1110
// RUN: %clangxx-esimd -fsycl %s -o %t.out
1211
// RUN: env SYCL_DEVICE_TYPE=HOST %t.out
1312
// RUN: %ESIMD_RUN_PLACEHOLDER %t.out

sycl/test/esimd/on-device/slm_barrier.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// TODO enable on Windows
9-
// REQUIRES: linux
10-
// REQUIRES: gpu
8+
// TODO enable on Windows and Level Zero
9+
// REQUIRES: linux && gpu && opencl
1110
// RUN: %clangxx-esimd -fsycl %s -o %t.out
1211
// RUN: %ESIMD_RUN_PLACEHOLDER %t.out
1312

sycl/test/esimd/on-device/test_id_3d.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// TODO enable on Windows
9-
// REQUIRES: linux
10-
// REQUIRES: gpu
8+
// TODO enable on Windows and Level Zero
9+
// REQUIRES: linux && gpu && opencl
1110
// RUN: %clangxx-esimd -fsycl %s -o %t.out
1211
// RUN: env SYCL_DEVICE_TYPE=HOST %t.out
1312
// RUN: %ESIMD_RUN_PLACEHOLDER %t.out

sycl/test/esimd/on-device/vadd_1d.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// TODO enable on Windows
9-
// REQUIRES: linux
10-
// REQUIRES: gpu
8+
// TODO enable on Windows and Level Zero
9+
// REQUIRES: linux && gpu && opencl
1110
// RUN: %clangxx-esimd -fsycl %s -o %t.out
1211
// RUN: %ESIMD_RUN_PLACEHOLDER %t.out
1312

sycl/test/esimd/on-device/vadd_2d.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// TODO enable on Windows
9-
// REQUIRES: linux
10-
// REQUIRES: gpu
8+
// TODO enable on Windows and Level Zero
9+
// REQUIRES: linux && gpu && opencl
1110
// RUN: %clangxx-esimd -fsycl %s -o %t.out
1211
// RUN: env SYCL_DEVICE_TYPE=HOST %t.out
1312
// RUN: %ESIMD_RUN_PLACEHOLDER %t.out

sycl/test/esimd/on-device/vadd_usm.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// TODO enable on Windows
9-
// REQUIRES: linux
10-
// REQUIRES: gpu
8+
// TODO enable on Windows and Level Zero
9+
// REQUIRES: linux && gpu && opencl
1110
// RUN: %clangxx-esimd -fsycl %s -o %t.out
1211
// RUN: env SYCL_DEVICE_TYPE=HOST %t.out
1312
// RUN: %ESIMD_RUN_PLACEHOLDER %t.out

0 commit comments

Comments
 (0)