aboutsummaryrefslogtreecommitdiff
path: root/tests/InferenceTest.inl
diff options
context:
space:
mode:
authorAron Virginas-Tar <Aron.Virginas-Tar@arm.com>2019-01-31 16:44:26 +0000
committerMatteo Martincigh <matteo.martincigh@arm.com>2019-02-01 09:10:51 +0000
commit339bcae73515c66899432b5844d7c239c570c4b8 (patch)
tree91bea3fc1eda5cf96309ad2a255917667ffad679 /tests/InferenceTest.inl
parent0c051f9b6b8d7d1602e81d2977dda449b6392642 (diff)
downloadarmnn-339bcae73515c66899432b5844d7c239c570c4b8.tar.gz
IVGCVSW-2604 Fix bug that made it impossible to execute inference tests on certain backends
* Read compute devices from the CL as strings and convert them into BackendId objects afterwards Change-Id: Icded1c572778f5a213644e3052ff6dfe7022128b Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com>
Diffstat (limited to 'tests/InferenceTest.inl')
-rw-r--r--tests/InferenceTest.inl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/InferenceTest.inl b/tests/InferenceTest.inl
index 4dde35403d..07a20d5a13 100644
--- a/tests/InferenceTest.inl
+++ b/tests/InferenceTest.inl
@@ -342,7 +342,7 @@ int ClassifierInferenceTestMain(int argc,
}
modelParams.m_IsModelBinary = isModelBinary;
- modelParams.m_ComputeDevice = modelOptions.m_ComputeDevice;
+ modelParams.m_ComputeDevices = modelOptions.GetComputeDevicesAsBackendIds();
modelParams.m_VisualizePostOptimizationModel = modelOptions.m_VisualizePostOptimizationModel;
modelParams.m_EnableFp16TurboMode = modelOptions.m_EnableFp16TurboMode;