|
11 | 11 | // CHECK: void sqrt() { |
12 | 12 | // CHECK-NEXT: float f32; |
13 | 13 | // CHECK-NEXT: double f64; |
14 | | -// CHECK-NEXT: f32 = sycl::sqrt<float>(1.0f); |
15 | | -// CHECK-NEXT: f32 = sycl::sqrt<float>(1.0f); |
| 14 | +// CHECK-NEXT: f32 = sycl::sqrt(1.0f); |
| 15 | +// CHECK-NEXT: f32 = sycl::sqrt(1.0f); |
16 | 16 | // CHECK-NEXT: /* |
17 | 17 | // CHECK-NEXT: DPCT1013:{{.*}}: The rounding mode could not be specified and the generated code may have different accuracy than the original code. Verify the correctness. SYCL math built-in function rounding mode is aligned with OpenCL C 1.2 standard. |
18 | 18 | // CHECK-NEXT: */ |
19 | | -// CHECK-NEXT: f32 = sycl::sqrt<float>(1.0f); |
| 19 | +// CHECK-NEXT: f32 = sycl::sqrt(1.0f); |
20 | 20 | // CHECK-NEXT: /* |
21 | 21 | // CHECK-NEXT: DPCT1013:{{.*}}: The rounding mode could not be specified and the generated code may have different accuracy than the original code. Verify the correctness. SYCL math built-in function rounding mode is aligned with OpenCL C 1.2 standard. |
22 | 22 | // CHECK-NEXT: */ |
23 | | -// CHECK-NEXT: f32 = sycl::sqrt<float>(1.0f); |
| 23 | +// CHECK-NEXT: f32 = sycl::sqrt(1.0f); |
24 | 24 | // CHECK-NEXT: /* |
25 | 25 | // CHECK-NEXT: DPCT1013:{{.*}}: The rounding mode could not be specified and the generated code may have different accuracy than the original code. Verify the correctness. SYCL math built-in function rounding mode is aligned with OpenCL C 1.2 standard. |
26 | 26 | // CHECK-NEXT: */ |
27 | | -// CHECK-NEXT: f32 = sycl::sqrt<float>(1.0f); |
| 27 | +// CHECK-NEXT: f32 = sycl::sqrt(1.0f); |
28 | 28 | // CHECK-NEXT: /* |
29 | 29 | // CHECK-NEXT: DPCT1013:{{.*}}: The rounding mode could not be specified and the generated code may have different accuracy than the original code. Verify the correctness. SYCL math built-in function rounding mode is aligned with OpenCL C 1.2 standard. |
30 | 30 | // CHECK-NEXT: */ |
31 | | -// CHECK-NEXT: f32 = sycl::sqrt<float>(1.0f); |
| 31 | +// CHECK-NEXT: f32 = sycl::sqrt(1.0f); |
32 | 32 | // CHECK-NEXT: /* |
33 | 33 | // CHECK-NEXT: DPCT1013:{{.*}}: The rounding mode could not be specified and the generated code may have different accuracy than the original code. Verify the correctness. SYCL math built-in function rounding mode is aligned with OpenCL C 1.2 standard. |
34 | 34 | // CHECK-NEXT: */ |
35 | | -// CHECK-NEXT: f32 = sycl::sqrt<float>(1.0f); |
| 35 | +// CHECK-NEXT: f32 = sycl::sqrt(1.0f); |
36 | 36 | // CHECK-NEXT: /* |
37 | 37 | // CHECK-NEXT: DPCT1013:{{.*}}: The rounding mode could not be specified and the generated code may have different accuracy than the original code. Verify the correctness. SYCL math built-in function rounding mode is aligned with OpenCL C 1.2 standard. |
38 | 38 | // CHECK-NEXT: */ |
39 | | -// CHECK-NEXT: f32 = sycl::sqrt<float>(1.0f); |
| 39 | +// CHECK-NEXT: f32 = sycl::sqrt(1.0f); |
40 | 40 | // CHECK-NEXT: /* |
41 | 41 | // CHECK-NEXT: DPCT1013:{{.*}}: The rounding mode could not be specified and the generated code may have different accuracy than the original code. Verify the correctness. SYCL math built-in function rounding mode is aligned with OpenCL C 1.2 standard. |
42 | 42 | // CHECK-NEXT: */ |
43 | | -// CHECK-NEXT: f32 = sycl::sqrt<float>(1.0f); |
| 43 | +// CHECK-NEXT: f32 = sycl::sqrt(1.0f); |
44 | 44 | // CHECK-NEXT: /* |
45 | 45 | // CHECK-NEXT: DPCT1013:{{.*}}: The rounding mode could not be specified and the generated code may have different accuracy than the original code. Verify the correctness. SYCL math built-in function rounding mode is aligned with OpenCL C 1.2 standard. |
46 | 46 | // CHECK-NEXT: */ |
47 | | -// CHECK-NEXT: f32 = sycl::sqrt<float>(1.0f); |
| 47 | +// CHECK-NEXT: f32 = sycl::sqrt(1.0f); |
48 | 48 | // CHECK-NEXT: /* |
49 | 49 | // CHECK-NEXT: DPCT1013:{{.*}}: The rounding mode could not be specified and the generated code may have different accuracy than the original code. Verify the correctness. SYCL math built-in function rounding mode is aligned with OpenCL C 1.2 standard. |
50 | 50 | // CHECK-NEXT: */ |
51 | | -// CHECK-NEXT: f64 = sycl::sqrt<double>(1.0); |
| 51 | +// CHECK-NEXT: f64 = sycl::sqrt(1.0); |
52 | 52 | // CHECK-NEXT: /* |
53 | 53 | // CHECK-NEXT: DPCT1013:{{.*}}: The rounding mode could not be specified and the generated code may have different accuracy than the original code. Verify the correctness. SYCL math built-in function rounding mode is aligned with OpenCL C 1.2 standard. |
54 | 54 | // CHECK-NEXT: */ |
55 | | -// CHECK-NEXT: f64 = sycl::sqrt<double>(1.0); |
| 55 | +// CHECK-NEXT: f64 = sycl::sqrt(1.0); |
56 | 56 | // CHECK-NEXT: /* |
57 | 57 | // CHECK-NEXT: DPCT1013:{{.*}}: The rounding mode could not be specified and the generated code may have different accuracy than the original code. Verify the correctness. SYCL math built-in function rounding mode is aligned with OpenCL C 1.2 standard. |
58 | 58 | // CHECK-NEXT: */ |
59 | | -// CHECK-NEXT: f64 = sycl::sqrt<double>(1.0); |
| 59 | +// CHECK-NEXT: f64 = sycl::sqrt(1.0); |
60 | 60 | // CHECK-NEXT: /* |
61 | 61 | // CHECK-NEXT: DPCT1013:{{.*}}: The rounding mode could not be specified and the generated code may have different accuracy than the original code. Verify the correctness. SYCL math built-in function rounding mode is aligned with OpenCL C 1.2 standard. |
62 | 62 | // CHECK-NEXT: */ |
63 | | -// CHECK-NEXT: f64 = sycl::sqrt<double>(1.0); |
| 63 | +// CHECK-NEXT: f64 = sycl::sqrt(1.0); |
64 | 64 | // CHECK-NEXT: } |
65 | 65 | __global__ void sqrt() { |
66 | 66 | float f32; |
|
0 commit comments