diff --git a/inference-engine/thirdparty/clDNN/kernel_selector/core/auto_tuner.cpp b/inference-engine/thirdparty/clDNN/kernel_selector/core/auto_tuner.cpp index 0c39d4e6923..89cf33bf226 100644 --- a/inference-engine/thirdparty/clDNN/kernel_selector/core/auto_tuner.cpp +++ b/inference-engine/thirdparty/clDNN/kernel_selector/core/auto_tuner.cpp @@ -317,6 +317,7 @@ void AutoTuner::RemoveKernel(const std::string& cacheFilePath, std::tuple AutoTuner::LoadKernelOffline(TuningCache* deviceCache, const Params& params) { + std::lock_guard lock(mutex); static const uint32_t defaultComputeUnits = 24; if (!deviceCache) return {};