Skip to content

Commit 976c35a

Browse files
Fix kernel arg mask info
1 parent 479880b commit 976c35a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

sycl/source/detail/program_manager/program_manager.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2694,6 +2694,14 @@ ProgramManager::link(const DevImgPlainWithDeps &ImgWithDeps,
26942694
device_image_impl::SpecConstMapT NewSpecConstMap;
26952695
mergeImageData(Imgs, *KernelIDs, NewSpecConstBlob, NewSpecConstMap);
26962696

2697+
{
2698+
std::lock_guard<std::mutex> Lock(MNativeProgramsMutex);
2699+
for (const device_image_plain &Img : ImgWithDeps) {
2700+
NativePrograms.insert(
2701+
{LinkedProg, getSyclObjImpl(Img)->get_bin_image_ref()});
2702+
}
2703+
}
2704+
26972705
auto BinImg = getSyclObjImpl(MainImg)->get_bin_image_ref();
26982706
DeviceImageImplPtr ExecutableImpl =
26992707
std::make_shared<detail::device_image_impl>(

0 commit comments

Comments
 (0)