@@ -161,11 +161,11 @@ class kernel_bundle_impl
161
161
for (const DevImgPlainWithDeps &DevImgWithDeps :
162
162
InputBundleImpl.MDeviceImages ) {
163
163
// Skip images which are not compatible with devices provided
164
- if (std:: none_of (get_devices (). begin (), get_devices (). end (),
165
- [&MainImg = *getSyclObjImpl (DevImgWithDeps.getMain ())](
166
- device_impl &Dev) {
167
- return MainImg.compatible_with_device (Dev);
168
- }))
164
+ if (none_of (get_devices (),
165
+ [&MainImg = *getSyclObjImpl (DevImgWithDeps.getMain ())](
166
+ device_impl &Dev) {
167
+ return MainImg.compatible_with_device (Dev);
168
+ }))
169
169
continue ;
170
170
171
171
switch (TargetState) {
@@ -395,11 +395,11 @@ class kernel_bundle_impl
395
395
for (const DevImgPlainWithDeps *DeviceImageWithDeps :
396
396
ImagesWithSpecConsts) {
397
397
// Skip images which are not compatible with devices provided
398
- if (std:: none_of (get_devices (). begin (), get_devices (). end (),
399
- [&MainImg = *getSyclObjImpl (
400
- DeviceImageWithDeps-> getMain ())]( device_impl &Dev) {
401
- return MainImg.compatible_with_device (Dev);
402
- }))
398
+ if (none_of (get_devices (),
399
+ [&MainImg = *getSyclObjImpl (DeviceImageWithDeps-> getMain ())] (
400
+ device_impl &Dev) {
401
+ return MainImg.compatible_with_device (Dev);
402
+ }))
403
403
continue ;
404
404
405
405
std::vector<device_image_plain> LinkedResults =
0 commit comments