File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
sycl/source/detail/program_manager Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1825,7 +1825,7 @@ DeviceKernelInfo &ProgramManager::getOrCreateDeviceKernelInfo(
18251825 std::lock_guard<std::mutex> Guard (m_DeviceKernelInfoMapMutex);
18261826 auto Result =
18271827 m_DeviceKernelInfoMap.try_emplace (KernelNameStrT{Info.Name .data ()}, Info);
1828- Result.first ->second .setCompileTimeInfoIfNeeded (Info);
1828+ // Result.first->second.setCompileTimeInfoIfNeeded(Info);
18291829 return Result.first ->second ;
18301830}
18311831
Original file line number Diff line number Diff line change @@ -539,6 +539,7 @@ class ProgramManager {
539539 // Map for storing device kernel information. Runtime lookup should be avoided
540540 // by caching the pointers when possible.
541541 std::unordered_map<KernelNameStrT, DeviceKernelInfo> m_DeviceKernelInfoMap;
542+ std::mutex m_DeviceKernelInfoMapMutex;
542543
543544 // Protects m_DeviceKernelInfoMap.
544545 std::mutex m_DeviceKernelInfoMapMutex;
You can’t perform that action at this time.
0 commit comments