From 55f94f2a5df3b8a8823debdfc6835be534188366 Mon Sep 17 00:00:00 2001 From: tangshihua Date: Tue, 3 Jan 2023 19:32:21 +0800 Subject: [PATCH] add mutex lock Signed-off-by: tangshihua --- ai/neural_network_runtime/common/mock_idevice.h | 1 + 1 file changed, 1 insertion(+) diff --git a/ai/neural_network_runtime/common/mock_idevice.h b/ai/neural_network_runtime/common/mock_idevice.h index 4f5887cf2..a2baa6d3b 100644 --- a/ai/neural_network_runtime/common/mock_idevice.h +++ b/ai/neural_network_runtime/common/mock_idevice.h @@ -97,6 +97,7 @@ private: bool m_priority = true; bool m_cache = true; bool m_dynamic = true; + std::vector m_operations{true}; std::mutex m_mtx; }; -- GitLab