@@ -25,11 +25,11 @@ int main() {
25
25
auto Redu1 = sycl::reduction<int >(nullptr , sycl::plus<int >());
26
26
auto Redu2 = sycl::reduction<float >(nullptr , sycl::multiplies<float >());
27
27
28
- // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel0(){{.*}} #[[SGSizeAttr1 :[0-9]+]]
28
+ // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel0(){{.*}} #[[SGSizeAttr0 :[0-9]+]]
29
29
Q.single_task <class SGSizeKernel0 >(Props, []() {});
30
- // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel1(){{.*}} #[[SGSizeAttr1 ]]
30
+ // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel1(){{.*}} #[[SGSizeAttr0 ]]
31
31
Q.single_task <class SGSizeKernel1 >(Ev, Props, []() {});
32
- // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel2(){{.*}} #[[SGSizeAttr1 ]]
32
+ // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel2(){{.*}} #[[SGSizeAttr0 ]]
33
33
Q.single_task <class SGSizeKernel2 >({Ev}, Props, []() {});
34
34
35
35
// CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel9(){{.*}} #[[SGSizeAttr2:[0-9]+]]
@@ -79,28 +79,28 @@ int main() {
79
79
Q.parallel_for <class SGSizeKernel26 >(R3, {Ev}, Props, Redu1,
80
80
[](sycl::id<3 >, auto &) {});
81
81
82
- // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel27(){{.*}} #[[SGSizeAttr2 ]]
82
+ // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel27(){{.*}} #[[SGSizeAttr6:[0-9]+ ]]
83
83
Q.parallel_for <class SGSizeKernel27 >(NDR1, Props, [](sycl::nd_item<1 >) {});
84
- // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel28(){{.*}} #[[SGSizeAttr2 ]]
84
+ // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel28(){{.*}} #[[SGSizeAttr6 ]]
85
85
Q.parallel_for <class SGSizeKernel28 >(NDR1, Ev, Props,
86
86
[](sycl::nd_item<1 >) {});
87
- // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel29(){{.*}} #[[SGSizeAttr2 ]]
87
+ // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel29(){{.*}} #[[SGSizeAttr6 ]]
88
88
Q.parallel_for <class SGSizeKernel29 >(NDR1, {Ev}, Props,
89
89
[](sycl::nd_item<1 >) {});
90
- // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel30(){{.*}} #[[SGSizeAttr2 ]]
90
+ // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel30(){{.*}} #[[SGSizeAttr6 ]]
91
91
Q.parallel_for <class SGSizeKernel30 >(NDR2, Props, [](sycl::nd_item<2 >) {});
92
- // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel31(){{.*}} #[[SGSizeAttr2 ]]
92
+ // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel31(){{.*}} #[[SGSizeAttr6 ]]
93
93
Q.parallel_for <class SGSizeKernel31 >(NDR2, Ev, Props,
94
94
[](sycl::nd_item<2 >) {});
95
- // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel32(){{.*}} #[[SGSizeAttr2 ]]
95
+ // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel32(){{.*}} #[[SGSizeAttr6 ]]
96
96
Q.parallel_for <class SGSizeKernel32 >(NDR2, {Ev}, Props,
97
97
[](sycl::nd_item<2 >) {});
98
- // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel33(){{.*}} #[[SGSizeAttr2 ]]
98
+ // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel33(){{.*}} #[[SGSizeAttr6 ]]
99
99
Q.parallel_for <class SGSizeKernel33 >(NDR3, Props, [](sycl::nd_item<3 >) {});
100
- // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel34(){{.*}} #[[SGSizeAttr2 ]]
100
+ // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel34(){{.*}} #[[SGSizeAttr6 ]]
101
101
Q.parallel_for <class SGSizeKernel34 >(NDR3, Ev, Props,
102
102
[](sycl::nd_item<3 >) {});
103
- // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel35(){{.*}} #[[SGSizeAttr2 ]]
103
+ // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel35(){{.*}} #[[SGSizeAttr6 ]]
104
104
Q.parallel_for <class SGSizeKernel35 >(NDR3, {Ev}, Props,
105
105
[](sycl::nd_item<3 >) {});
106
106
@@ -160,15 +160,15 @@ int main() {
160
160
Q.parallel_for <class SGSizeKernel53 >(NDR3, {Ev}, Props, Redu1, Redu2,
161
161
[](sycl::nd_item<3 >, auto &, auto &) {});
162
162
163
- // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel54(){{.*}} #[[SGSizeAttr1 ]]
163
+ // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel54(){{.*}} #[[SGSizeAttr0 ]]
164
164
Q.submit ([&](sycl::handler &CGH) {
165
165
CGH.single_task <class SGSizeKernel54 >(Props, []() {});
166
166
});
167
- // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel55(){{.*}} #[[SGSizeAttr1 ]]
167
+ // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel55(){{.*}} #[[SGSizeAttr0 ]]
168
168
Q.submit ([&](sycl::handler &CGH) {
169
169
CGH.single_task <class SGSizeKernel55 >(Props, []() {});
170
170
});
171
- // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel56(){{.*}} #[[SGSizeAttr1 ]]
171
+ // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel56(){{.*}} #[[SGSizeAttr0 ]]
172
172
Q.submit ([&](sycl::handler &CGH) {
173
173
CGH.single_task <class SGSizeKernel56 >(Props, []() {});
174
174
});
@@ -202,17 +202,17 @@ int main() {
202
202
[](sycl::id<3 >, auto &) {});
203
203
});
204
204
205
- // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel63(){{.*}} #[[SGSizeAttr2 ]]
205
+ // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel63(){{.*}} #[[SGSizeAttr6 ]]
206
206
Q.submit ([&](sycl::handler &CGH) {
207
207
CGH.parallel_for <class SGSizeKernel63 >(NDR1, Props,
208
208
[](sycl::nd_item<1 >) {});
209
209
});
210
- // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel64(){{.*}} #[[SGSizeAttr2 ]]
210
+ // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel64(){{.*}} #[[SGSizeAttr6 ]]
211
211
Q.submit ([&](sycl::handler &CGH) {
212
212
CGH.parallel_for <class SGSizeKernel64 >(NDR2, Props,
213
213
[](sycl::nd_item<2 >) {});
214
214
});
215
- // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel65(){{.*}} #[[SGSizeAttr2 ]]
215
+ // CHECK-IR: spir_kernel void @{{.*}}SGSizeKernel65(){{.*}} #[[SGSizeAttr6 ]]
216
216
Q.submit ([&](sycl::handler &CGH) {
217
217
CGH.parallel_for <class SGSizeKernel65 >(NDR3, Props,
218
218
[](sycl::nd_item<3 >) {});
@@ -275,5 +275,6 @@ int main() {
275
275
return 0 ;
276
276
}
277
277
278
- // CHECK-IR: attributes #[[SGSizeAttr1 ]] = { {{.*}}"sycl-sub-group-size"="1"
278
+ // CHECK-IR: attributes #[[SGSizeAttr0 ]] = { {{.*}}"sycl-sub-group-size"="1"
279
279
// CHECK-IR: attributes #[[SGSizeAttr2]] = { {{.*}}"sycl-sub-group-size"="1"
280
+ // CHECK-IR: attributes #[[SGSizeAttr6]] = { {{.*}}"sycl-sub-group-size"="1"
0 commit comments