This repository was archived by the owner on Mar 28, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +22
-7
lines changed Expand file tree Collapse file tree 3 files changed +22
-7
lines changed Original file line number Diff line number Diff line change 1
- // REQUIRES: gpu, level_zero
1
+ // REQUIRES: gpu
2
2
3
- // RUN: sycl-ls --verbose >%t.default.out
3
+ // RUN: env --unset=SYCL_BE sycl-ls --verbose >%t.default.out
4
4
// RUN: FileCheck %s --check-prefixes=CHECK-GPU-BUILTIN,CHECK-GPU-CUSTOM --input-file %t.default.out
5
5
6
- // CHECK-GPU-BUILTIN: gpu_selector(){{.*}}GPU : 1.0
7
- // CHECK-GPU-CUSTOM: custom_selector(gpu){{.*}}GPU : 1.0
6
+ // CHECK-GPU-BUILTIN: gpu_selector(){{.*}}GPU : {{.*}}Level-Zero
7
+ // CHECK-GPU-CUSTOM: custom_selector(gpu){{.*}}GPU : {{.*}}Level-Zero
8
8
9
9
// ==-- sycl-ls-gpu-default.cpp - SYCL test for default selected gpu device -==//
10
10
//
Original file line number Diff line number Diff line change
1
+ // REQUIRES: gpu, level_zero
2
+
3
+ // RUN: sycl-ls --verbose >%t.default.out
4
+ // RUN: FileCheck %s --check-prefixes=CHECK-GPU-BUILTIN,CHECK-GPU-CUSTOM --input-file %t.default.out
5
+
6
+ // CHECK-GPU-BUILTIN: gpu_selector(){{.*}}GPU : {{.*}}Level-Zero
7
+ // CHECK-GPU-CUSTOM: custom_selector(gpu){{.*}}GPU : {{.*}}Level-Zero
8
+
9
+ // ==-- sycl-ls-gpu-level-zero.cpp - Test Level-Zero selected gpu device ----==//
10
+ //
11
+ // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
12
+ // See https://llvm.org/LICENSE.txt for license information.
13
+ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
14
+ //
15
+ // ===----------------------------------------------------------------------===//
Original file line number Diff line number Diff line change 3
3
// RUN: env SYCL_BE=PI_OPENCL sycl-ls --verbose >%t.opencl.out
4
4
// RUN: FileCheck %s --check-prefixes=CHECK-GPU-BUILTIN,CHECK-GPU-CUSTOM --input-file %t.opencl.out
5
5
6
- // CHECK-GPU-BUILTIN: gpu_selector(){{.*}}GPU : {{[0-9]\.[0-9]}}
7
- // CHECK-GPU-CUSTOM: custom_selector(gpu){{.*}}GPU : {{[0-9]\.[0-9]}}
6
+ // CHECK-GPU-BUILTIN: gpu_selector(){{.*}}GPU : {{.*}}OpenCL
7
+ // CHECK-GPU-CUSTOM: custom_selector(gpu){{.*}}GPU : {{.*}}OpenCL
8
8
9
- // ==-- sycl-ls-gpu-opencl.cpp - SYCL test for discovered/ selected devices -===//
9
+ // ==-- sycl-ls-gpu-opencl.cpp - SYCL test for selected OpenCL GPU device - -===//
10
10
//
11
11
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
12
12
// See https://llvm.org/LICENSE.txt for license information.
You can’t perform that action at this time.
0 commit comments