|
1 |
| -// RUN: %clangxx -fsycl %s -o %t.out |
2 |
| -// RUN: env SYCL_DEVICE_TYPE=cpu %t.out |
3 |
| -// RUN: env SYCL_DEVICE_TYPE=gpu %t.out |
4 |
| -// RUN: env SYCL_DEVICE_TYPE=acc %t.out |
5 |
| -// RUN: env SYCL_DEVICE_TYPE=host %t.out |
6 |
| -// RUN: env SYCL_DEVICE_TYPE=CPU %t.out |
7 |
| -// RUN: env SYCL_DEVICE_TYPE=GPU %t.out |
8 |
| -// RUN: env SYCL_DEVICE_TYPE=ACC %t.out |
9 |
| -// RUN: env SYCL_DEVICE_TYPE=HOST %t.out |
10 |
| -// RUN: env SYCL_DEVICE_TYPE=Cpu %t.out |
11 |
| -// RUN: env SYCL_DEVICE_TYPE=Gpu %t.out |
12 |
| -// RUN: env SYCL_DEVICE_TYPE=Acc %t.out |
13 |
| -// RUN: env SYCL_DEVICE_TYPE=Host %t.out |
14 |
| -// RUN: env SYCL_DEVICE_TYPE=XPU %t.out |
| 1 | +// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out |
| 2 | +// RUN: env SYCL_BE=%sycl_be SYCL_DEVICE_TYPE=cpu %t.out |
| 3 | +// RUN: env SYCL_BE=%sycl_be SYCL_DEVICE_TYPE=gpu %t.out |
| 4 | +// RUN: env SYCL_BE=%sycl_be SYCL_DEVICE_TYPE=acc %t.out |
| 5 | +// RUN: env SYCL_BE=%sycl_be SYCL_DEVICE_TYPE=host %t.out |
| 6 | +// RUN: env SYCL_BE=%sycl_be SYCL_DEVICE_TYPE=CPU %t.out |
| 7 | +// RUN: env SYCL_BE=%sycl_be SYCL_DEVICE_TYPE=GPU %t.out |
| 8 | +// RUN: env SYCL_BE=%sycl_be SYCL_DEVICE_TYPE=ACC %t.out |
| 9 | +// RUN: env SYCL_BE=%sycl_be SYCL_DEVICE_TYPE=HOST %t.out |
| 10 | +// RUN: env SYCL_BE=%sycl_be SYCL_DEVICE_TYPE=Cpu %t.out |
| 11 | +// RUN: env SYCL_BE=%sycl_be SYCL_DEVICE_TYPE=Gpu %t.out |
| 12 | +// RUN: env SYCL_BE=%sycl_be SYCL_DEVICE_TYPE=Acc %t.out |
| 13 | +// RUN: env SYCL_BE=%sycl_be SYCL_DEVICE_TYPE=Host %t.out |
| 14 | +// RUN: env SYCL_BE=%sycl_be SYCL_DEVICE_TYPE=XPU %t.out |
15 | 15 |
|
16 | 16 | //==------------------- device-check.cpp --------------------------==//
|
17 | 17 | // This is a diagnostic test which ensures that
|
|
0 commit comments