Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 1f07119

Browse files
committed
fixed sycl-ls output expectation
Signed-off-by: Byoungro So <[email protected]>
1 parent 9eea2be commit 1f07119

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

SYCL/Basic/host_platform_avail.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// RUN: %HOST_RUN_PLACEHOLDER %t1.out
33
// RUN: %CPU_RUN_PLACEHOLDER %t1.out
44
// RUN: %GPU_RUN_PLACEHOLDER %t1.out
5-
// RUN: %ACC_RUN_PLACEHOLDER %t1.out
5+
// RUN: env SYCL_DEVICE_FILTER=acc,host %t1.out
66

77
//==------ host_platform_avail.cpp - Host Platform Availability test -------==//
88
//

SYCL/FilterSelector/select_device.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// RUN: env SYCL_DEVICE_FILTER=level_zero:gpu %t.out
55
// RUN: env SYCL_DEVICE_FILTER=opencl:gpu %t.out
66
// RUN: env SYCL_DEVICE_FILTER=cpu,level_zero:gpu %t.out
7-
// RUN: env SYCL_DEVICE_FILTER=opencl:acc:0 %t.out
7+
// RUN: env SYCL_DEVICE_FILTER=opencl:acc %t.out
88
//
99
// Checks if only specified device types can be acquired from select_device
1010
// when SYCL_DEVICE_FILTER is set

SYCL/Plugin/sycl-ls-gpu-default-any.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// RUN: env --unset=SYCL_DEVICE_FILTER sycl-ls --verbose >%t.default.out
44
// RUN: FileCheck %s --check-prefixes=CHECK-GPU-BUILTIN,CHECK-GPU-CUSTOM --input-file %t.default.out
55

6-
// CHECK-GPU-BUILTIN: gpu_selector(){{.*}}gpu : {{.*}}{{Level-Zero|CUDA|OpenCL}}
6+
// CHECK-GPU-BUILTIN: gpu_selector(){{.*}}gpu
77
// clang-format off
8-
// CHECK-GPU-CUSTOM: custom_selector(gpu){{.*}}gpu : {{.*}}{{Level-Zero|CUDA|OpenCL}}
8+
// CHECK-GPU-CUSTOM: custom_selector(gpu){{.*}}gpu
99
// clang-format on
1010

1111
//==--------------------- sycl-ls-gpu-default-any.cpp ----------------------==//

SYCL/Plugin/sycl-ls-gpu-level-zero.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
// RUN: sycl-ls --verbose >%t.default.out
44
// RUN: FileCheck %s --check-prefixes=CHECK-GPU-BUILTIN,CHECK-GPU-CUSTOM --input-file %t.default.out
55

6-
// CHECK-GPU-BUILTIN: gpu_selector(){{.*}}gpu : {{.*}}Level-Zero
7-
// CHECK-GPU-CUSTOM: custom_selector(gpu){{.*}}gpu : {{.*}}Level-Zero
6+
// CHECK-GPU-BUILTIN: gpu_selector(){{.*}}gpu
7+
// CHECK-GPU-CUSTOM: custom_selector(gpu){{.*}}gpu
88

99
//==-- sycl-ls-gpu-level-zero.cpp - Test Level-Zero selected gpu device ----==//
1010
//

0 commit comments

Comments
 (0)