@@ -108,7 +108,8 @@ class __SYCL_EXPORT queue {
108
108
// / \param AsyncHandler is a SYCL asynchronous exception handler.
109
109
// / \param PropList is a list of properties for queue construction.
110
110
template <typename DeviceSelector,
111
- typename = detail::EnableIfDeviceSelectorInvocable<DeviceSelector>>
111
+ typename =
112
+ detail::EnableIfSYCL2020DeviceSelectorInvocable<DeviceSelector>>
112
113
explicit queue (const DeviceSelector &deviceSelector,
113
114
const async_handler &AsyncHandler,
114
115
const property_list &PropList = {})
@@ -120,7 +121,8 @@ class __SYCL_EXPORT queue {
120
121
// / takes a device and returns an int
121
122
// / \param PropList is a list of properties for queue construction.
122
123
template <typename DeviceSelector,
123
- typename = detail::EnableIfDeviceSelectorInvocable<DeviceSelector>>
124
+ typename =
125
+ detail::EnableIfSYCL2020DeviceSelectorInvocable<DeviceSelector>>
124
126
explicit queue (const DeviceSelector &deviceSelector,
125
127
const property_list &PropList = {})
126
128
: queue(detail::select_device(deviceSelector), async_handler{},
@@ -133,7 +135,8 @@ class __SYCL_EXPORT queue {
133
135
// / takes a device and returns an int
134
136
// / \param PropList is a list of properties for queue construction.
135
137
template <typename DeviceSelector,
136
- typename = detail::EnableIfDeviceSelectorInvocable<DeviceSelector>>
138
+ typename =
139
+ detail::EnableIfSYCL2020DeviceSelectorInvocable<DeviceSelector>>
137
140
explicit queue (const context &syclContext,
138
141
const DeviceSelector &deviceSelector,
139
142
const property_list &propList = {})
@@ -148,7 +151,8 @@ class __SYCL_EXPORT queue {
148
151
// / \param AsyncHandler is a SYCL asynchronous exception handler.
149
152
// / \param PropList is a list of properties for queue construction.
150
153
template <typename DeviceSelector,
151
- typename = detail::EnableIfDeviceSelectorInvocable<DeviceSelector>>
154
+ typename =
155
+ detail::EnableIfSYCL2020DeviceSelectorInvocable<DeviceSelector>>
152
156
explicit queue (const context &syclContext,
153
157
const DeviceSelector &deviceSelector,
154
158
const async_handler &AsyncHandler,
@@ -163,8 +167,8 @@ class __SYCL_EXPORT queue {
163
167
// /
164
168
// / \param DeviceSelector is an instance of a SYCL 1.2.1 device_selector.
165
169
// / \param PropList is a list of properties for queue construction.
166
- __SYCL2020_DEPRECATED (" Use Callable device selectors instead of deprecated "
167
- " device_selector subclasses ." )
170
+ __SYCL2020_DEPRECATED (" SYCL 1.2.1 device selectors are deprecated. Please "
171
+ " use SYCL 2020 device selectors instead ." )
168
172
queue (const device_selector &DeviceSelector,
169
173
const property_list &PropList = {})
170
174
: queue(DeviceSelector.select_device(), async_handler{}, PropList) {}
@@ -175,8 +179,8 @@ class __SYCL_EXPORT queue {
175
179
// / \param DeviceSelector is an instance of SYCL 1.2.1 device_selector.
176
180
// / \param AsyncHandler is a SYCL asynchronous exception handler.
177
181
// / \param PropList is a list of properties for queue construction.
178
- __SYCL2020_DEPRECATED (" Use Callable device selectors instead of deprecated "
179
- " device_selector subclasses ." )
182
+ __SYCL2020_DEPRECATED (" SYCL 1.2.1 device selectors are deprecated. Please "
183
+ " use SYCL 2020 device selectors instead ." )
180
184
queue (const device_selector &DeviceSelector,
181
185
const async_handler &AsyncHandler, const property_list &PropList = {})
182
186
: queue(DeviceSelector.select_device(), AsyncHandler, PropList) {}
@@ -203,8 +207,8 @@ class __SYCL_EXPORT queue {
203
207
// / \param SyclContext is an instance of SYCL context.
204
208
// / \param DeviceSelector is an instance of SYCL device selector.
205
209
// / \param PropList is a list of properties for queue construction.
206
- __SYCL2020_DEPRECATED (" Use Callable device selectors instead of deprecated "
207
- " device_selector subclasses ." )
210
+ __SYCL2020_DEPRECATED (" SYCL 1.2.1 device selectors are deprecated. Please "
211
+ " use SYCL 2020 device selectors instead ." )
208
212
queue (const context &SyclContext, const device_selector &DeviceSelector,
209
213
const property_list &PropList = {});
210
214
@@ -216,8 +220,8 @@ class __SYCL_EXPORT queue {
216
220
// / \param DeviceSelector is an instance of SYCL device selector.
217
221
// / \param AsyncHandler is a SYCL asynchronous exception handler.
218
222
// / \param PropList is a list of properties for queue construction.
219
- __SYCL2020_DEPRECATED (" Use Callable device selectors instead of deprecated "
220
- " device_selector subclasses ." )
223
+ __SYCL2020_DEPRECATED (" SYCL 1.2.1 device selectors are deprecated. Please "
224
+ " use SYCL 2020 device selectors instead ." )
221
225
queue (const context &SyclContext, const device_selector &DeviceSelector,
222
226
const async_handler &AsyncHandler, const property_list &PropList = {});
223
227
0 commit comments