From abc95d04dfb2462ffb42bc1facde4f45ecc65319 Mon Sep 17 00:00:00 2001 From: Kevin May Date: Fri, 15 May 2020 15:34:03 +0100 Subject: IVGCVSW-4837 Add driver service name command line option * revert commit 8a510e8e9ed22ec0bbd295b69a6700ad0ba7cfd8 * Add driver option to give service a name, default to "armnn" Change-Id: I9755206494f637bee4c8299bf6370fc4731638c8 Signed-off-by: Kevin May --- DriverOptions.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'DriverOptions.cpp') diff --git a/DriverOptions.cpp b/DriverOptions.cpp index 94fd5942..1f534b6e 100644 --- a/DriverOptions.cpp +++ b/DriverOptions.cpp @@ -76,6 +76,10 @@ DriverOptions::DriverOptions(int argc, char** argv) po::value(&m_RequestInputsAndOutputsDumpDir)->default_value(""), "If non-empty, the directory where request inputs and outputs should be dumped") + ("service-name,n", + po::value(&m_ServiceName)->default_value("armnn"), + "If non-empty, the driver service name to be registered") + ("unsupported-operations,u", po::value(&unsupportedOperationsAsString)->default_value(""), "If non-empty, a comma-separated list of operation indices which the driver will forcibly " -- cgit v1.2.1