|
9 | 9 | // REQUIRES: ocloc && (opencl || level_zero)
|
10 | 10 | // UNSUPPORTED: accelerator
|
11 | 11 |
|
12 |
| -// Fails with opencl and level_zero on linux, enable when fixed. |
13 |
| -// XFAIL: opencl || (linux && level_zero) |
14 |
| - |
15 | 12 | // RUN: %{build} -o %t.out
|
16 | 13 | // RUN: %{run} %t.out
|
17 | 14 |
|
@@ -48,11 +45,16 @@ int main() {
|
48 | 45 | assert(d.ext_oneapi_cl_profile() == "FULL_PROFILE" &&
|
49 | 46 | "unexpected cl_profile");
|
50 | 47 |
|
51 |
| - assert(syclex::opencl_c_1_0.major == 1 && syclex::opencl_c_1_0.minor == 0 && syclex::opencl_c_1_0.patch == 0); |
52 |
| - assert(syclex::opencl_c_1_1.major == 1 && syclex::opencl_c_1_1.minor == 1 && syclex::opencl_c_1_1.patch == 0); |
53 |
| - assert(syclex::opencl_c_1_2.major == 1 && syclex::opencl_c_1_2.minor == 2 && syclex::opencl_c_1_2.patch == 0); |
54 |
| - assert(syclex::opencl_c_2_0.major == 2 && syclex::opencl_c_2_0.minor == 0 && syclex::opencl_c_2_0.patch == 0); |
55 |
| - assert(syclex::opencl_c_3_0.major == 3 && syclex::opencl_c_3_0.minor == 0 && syclex::opencl_c_3_0.patch == 0); |
| 48 | + assert(syclex::opencl_c_1_0.major == 1 && syclex::opencl_c_1_0.minor == 0 && |
| 49 | + syclex::opencl_c_1_0.patch == 0); |
| 50 | + assert(syclex::opencl_c_1_1.major == 1 && syclex::opencl_c_1_1.minor == 1 && |
| 51 | + syclex::opencl_c_1_1.patch == 0); |
| 52 | + assert(syclex::opencl_c_1_2.major == 1 && syclex::opencl_c_1_2.minor == 2 && |
| 53 | + syclex::opencl_c_1_2.patch == 0); |
| 54 | + assert(syclex::opencl_c_2_0.major == 2 && syclex::opencl_c_2_0.minor == 0 && |
| 55 | + syclex::opencl_c_2_0.patch == 0); |
| 56 | + assert(syclex::opencl_c_3_0.major == 3 && syclex::opencl_c_3_0.minor == 0 && |
| 57 | + syclex::opencl_c_3_0.patch == 0); |
56 | 58 |
|
57 | 59 | return 0;
|
58 | 60 | }
|
0 commit comments