From ca3a3e0fd86a07de9e073ba31dc2b42d6ca84536 Mon Sep 17 00:00:00 2001 From: Finn Williams Date: Fri, 11 Jun 2021 15:04:02 +0100 Subject: IVGCVSW-6062 Rework the async threadpool !armnn:5801 Signed-off-by: Finn Williams Change-Id: I9964d0899ce752441f380edddbd974010257b2dd --- ArmnnDriverImpl.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ArmnnDriverImpl.cpp') diff --git a/ArmnnDriverImpl.cpp b/ArmnnDriverImpl.cpp index 0e6e8b18..78ef12fe 100644 --- a/ArmnnDriverImpl.cpp +++ b/ArmnnDriverImpl.cpp @@ -166,8 +166,7 @@ Return ArmnnDriverImpl::prepareModel( std::string msg; armnn::INetworkProperties networkProperties(options.isAsyncModelExecutionEnabled(), armnn::MemorySource::Undefined, - armnn::MemorySource::Undefined, - options.getNoOfArmnnThreads()); + armnn::MemorySource::Undefined); try { @@ -198,7 +197,8 @@ Return ArmnnDriverImpl::prepareModel( model, options.GetRequestInputsAndOutputsDumpDir(), options.IsGpuProfilingEnabled(), - options.isAsyncModelExecutionEnabled())); + options.isAsyncModelExecutionEnabled(), + options.getNoOfArmnnThreads())); // Run a single 'dummy' inference of the model. This means that CL kernels will get compiled (and tuned if // this is enabled) before the first 'real' inference which removes the overhead of the first inference. -- cgit v1.2.1