IVGCVSW-2928 Fix issue with GPU profiling
Correctly enable GPU profiling when test profiling is enabled.
Remove extra copy of the profiling-enabled flag from InferenceModel::Params
and correctly pass around the copy that is in InferenceTestOptions.
!referencetests:180329
Change-Id: I0daa1bab2e7068fc479bf417a553183b1d922166
Signed-off-by: Matthew Bentham <matthew.bentham@arm.com>
diff --git a/tests/InferenceTest.cpp b/tests/InferenceTest.cpp
index 7413de9..89e78de 100644
--- a/tests/InferenceTest.cpp
+++ b/tests/InferenceTest.cpp
@@ -82,7 +82,7 @@
return false;
}
- if (!testCaseProvider.ProcessCommandLineOptions())
+ if (!testCaseProvider.ProcessCommandLineOptions(outParams))
{
return false;
}