Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions sycl/source/detail/program_manager/program_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1731,9 +1731,10 @@ void ProgramManager::addImage(sycl_device_binary RawImg,
sycl::kernel_id KernelID = detail::createSyclObjFromImpl<sycl::kernel_id>(
std::make_shared<detail::kernel_id_impl>(name));
CompileTimeKernelInfoTy DefaultCompileTimeInfo{std::string_view(name)};
It = m_DeviceKernelInfoMap.emplace_hint(
It, std::piecewise_construct, std::forward_as_tuple(name),
std::forward_as_tuple(DefaultCompileTimeInfo, KernelID));
It = m_DeviceKernelInfoMap
.emplace(std::piecewise_construct, std::forward_as_tuple(name),
std::forward_as_tuple(DefaultCompileTimeInfo, KernelID))
.first;
}
m_KernelIDs2BinImage.insert(
std::make_pair(It->second.getKernelID(), Img.get()));
Expand Down
Loading