|
1 | | -// REQUIRES: x86-registered-target |
2 | | -// REQUIRES: amdgpu-registered-target |
3 | | -// REQUIRES: system-linux |
4 | | -// UNSUPPORTED: target={{.*}}-zos{{.*}} |
5 | | -// XFAIL: target={{.*}}hexagon{{.*}} |
6 | | -// XFAIL: target={{.*}}-scei{{.*}} |
7 | | -// XFAIL: target={{.*}}-sie{{.*}} |
| 1 | +// REQUIRES: x86-registered-target, amdgpu-registered-target |
8 | 2 |
|
9 | | -// RUN: not %clang -### --hipstdpar --hipstdpar-path=/does/not/exist -nogpulib \ |
| 3 | +// RUN: not %clang -### --target=x86_64-unknown-linux-gnu \ |
| 4 | +// RUN: --hipstdpar --hipstdpar-path=/does/not/exist -nogpulib \ |
10 | 5 | // RUN: -nogpuinc --compile %s 2>&1 | \ |
11 | 6 | // RUN: FileCheck --check-prefix=HIPSTDPAR-MISSING-LIB %s |
12 | | -// RUN: %clang -### --hipstdpar --hipstdpar-path=%S/Inputs/hipstdpar \ |
| 7 | +// RUN: %clang -### --target=x86_64-unknown-linux-gnu \ |
| 8 | +// RUN: --hipstdpar --hipstdpar-path=%S/Inputs/hipstdpar \ |
13 | 9 | // RUN: --hipstdpar-thrust-path=%S/Inputs/hipstdpar/thrust \ |
14 | 10 | // RUN: --hipstdpar-prim-path=%S/Inputs/hipstdpar/rocprim \ |
15 | 11 | // RUN: -nogpulib -nogpuinc --compile %s 2>&1 | \ |
16 | 12 | // RUN: FileCheck --check-prefix=HIPSTDPAR-COMPILE %s |
17 | 13 | // RUN: touch %t.o |
18 | | -// RUN: %clang -### --hipstdpar %t.o 2>&1 | FileCheck --check-prefix=HIPSTDPAR-LINK %s |
| 14 | +// RUN: %clang -### --target=x86_64-unknown-linux-gnu --hipstdpar %t.o 2>&1 | FileCheck --check-prefix=HIPSTDPAR-LINK %s |
19 | 15 |
|
20 | 16 | // HIPSTDPAR-MISSING-LIB: error: cannot find HIP Standard Parallelism Acceleration library; provide it via '--hipstdpar-path' |
21 | 17 | // HIPSTDPAR-COMPILE: "-x" "hip" |
|
0 commit comments