We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2178e0 commit 1cfec8bCopy full SHA for 1cfec8b
sycl/source/detail/kernel_bundle_impl.hpp
@@ -869,11 +869,12 @@ class kernel_bundle_impl {
869
}
870
871
bool is_specialization_constant_set(const char *SpecName) const noexcept {
872
- bool SetInDevImg = std::any_of(
873
- begin(), end(), [SpecName](const device_image_plain &DeviceImage) {
874
- return getSyclObjImpl(DeviceImage)
875
- ->is_specialization_constant_set(SpecName);
876
- });
+ bool SetInDevImg =
+ std::any_of(begin(), end(),
+ [SpecName](const device_image_plain &DeviceImage) {
+ return getSyclObjImpl(DeviceImage)
+ ->is_specialization_constant_set(SpecName);
877
+ });
878
return SetInDevImg || MSpecConstValues.count(std::string{SpecName}) != 0;
879
880
0 commit comments