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 cd02331 commit 3678449Copy full SHA for 3678449
sycl/source/detail/kernel_bundle_impl.hpp
@@ -289,8 +289,8 @@ class kernel_bundle_impl {
289
MDeviceImages.erase(DevImgIt, MDeviceImages.end());
290
291
for (const detail::KernelBundleImplPtr &Bundle : Bundles) {
292
- for (const std::pair<std::string, std::vector<unsigned char>> &SpecConst :
293
- Bundle->MSpecConstValues) {
+ for (const std::pair<const std::string, std::vector<unsigned char>>
+ &SpecConst : Bundle->MSpecConstValues) {
294
set_specialization_constant_raw_value(SpecConst.first.c_str(),
295
SpecConst.second.data(),
296
SpecConst.second.size());
0 commit comments