aboutsummaryrefslogtreecommitdiff
path: root/tests/InferenceModel.hpp
diff options
context:
space:
mode:
authorKevin May <kevin.may@arm.com>2021-05-26 16:01:08 +0100
committerKevin May <kevin.may@arm.com>2021-05-26 16:19:38 +0100
commit94dd4dbbb2b59f47e38cf2f1280c4b25be45ea64 (patch)
treeb179186bcac41484dad37bcee18a705a05e462f6 /tests/InferenceModel.hpp
parentb4b3ac91990eb5deaffca2300319f2ddf7aa0886 (diff)
downloadarmnn-94dd4dbbb2b59f47e38cf2f1280c4b25be45ea64.tar.gz
IVGCVSW-6009 Enable creating thread pool with 1 thread
* Allow the user to use create a tread pool with a single thread * This is in keeping with how the android-nn-driver was implemented * Add it to ExecuteNetwork thread pool creation Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: I05b8048a9e0e45ae11d2b585080af28d9d008d81
Diffstat (limited to 'tests/InferenceModel.hpp')
-rw-r--r--tests/InferenceModel.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/InferenceModel.hpp b/tests/InferenceModel.hpp
index 7c51011a22..fd2ab5f6ba 100644
--- a/tests/InferenceModel.hpp
+++ b/tests/InferenceModel.hpp
@@ -121,7 +121,7 @@ struct Params
, m_NumberOfThreads(0)
, m_MLGOTuningFilePath("")
, m_AsyncEnabled(false)
- , m_ThreadPoolSize(1)
+ , m_ThreadPoolSize(0)
{}
};