You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since we have SYCL 2020 replacement for `intel::reqd_work_group_size`
- sycl::reqd_work_group_size, it makes sense do deprecate intel one.
Signed-off-by: Soumi Manna <soumi.manna@intel.com>
// attributes when merging, so the test compiles without
120
120
// any diagnostic when it shouldn't.
121
121
structTRIFuncObjBad1 {
122
-
[[intel::reqd_work_group_size(4, 4, 4)]] void
122
+
[[sycl::reqd_work_group_size(4, 4, 4)]] void
123
123
operator()() const;
124
124
};
125
125
@@ -166,7 +166,9 @@ struct TRIFuncObjBad5 {
166
166
};
167
167
168
168
structTRIFuncObjBad6 {
169
-
[[intel::reqd_work_group_size(4)]] // expected-error{{all 'reqd_work_group_size' attribute arguments must be '1' when the 'max_global_work_dim' attribute argument is '0'}}
169
+
[[intel::reqd_work_group_size(4)]] // expected-error{{all 'reqd_work_group_size' attribute arguments must be '1' when the 'max_global_work_dim' attribute argument is '0'}} \
170
+
// expected-warning {{attribute 'intel::reqd_work_group_size' is deprecated}} \
171
+
// expected-note {{did you mean to use 'sycl::reqd_work_group_size' instead?}}
170
172
[[intel::max_global_work_dim(0)]] void
171
173
operator()() const {}
172
174
};
@@ -184,7 +186,7 @@ struct TRIFuncObjBad8 {
184
186
operator()() const;
185
187
};
186
188
187
-
[[intel::reqd_work_group_size(4, 4, 4)]] // expected-error{{all 'reqd_work_group_size' attribute arguments must be '1' when the 'max_global_work_dim' attribute argument is '0'}}
189
+
[[sycl::reqd_work_group_size(4, 4, 4)]] // expected-error{{all 'reqd_work_group_size' attribute arguments must be '1' when the 'max_global_work_dim' attribute argument is '0'}}
0 commit comments