IVGCVSW-5335 Documentation for fast_math
* Changed documentation for fast_math to add warning about possibly reduction in precision.
* Added -h,--help option to display command line help for the driver.
* Added -V,--version option to display ArmNN version information for the driver.
* Changed driver to display an error and the command line help if it cannot start for any reason.
* Backend no longer defaults to GpuAcc.
Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Change-Id: I270b10ec9d485fd25e25680fc29ea1fc2b0e8e1d
diff --git a/DriverOptions.hpp b/DriverOptions.hpp
index ba0919c..1523652 100644
--- a/DriverOptions.hpp
+++ b/DriverOptions.hpp
@@ -34,6 +34,8 @@
bool IsFastMathEnabled() const { return m_FastMathEnabled; }
bool GetFp16Enabled() const { return m_fp16Enabled; }
void SetBackends(const std::vector<armnn::BackendId>& backends) { m_Backends = backends; }
+ bool ShouldExit() const { return m_ShouldExit; }
+ int GetExitCode() const { return m_ExitCode; }
private:
std::vector<armnn::BackendId> m_Backends;
@@ -47,6 +49,8 @@
bool m_EnableGpuProfiling;
bool m_fp16Enabled;
bool m_FastMathEnabled;
+ bool m_ShouldExit;
+ int m_ExitCode;
};
} // namespace armnn_driver