IVGCVSW-5335 Added Documentation for fast_math
authorMike Kelly <mike.kelly@arm.com>
Wed, 14 Oct 2020 10:48:21 +0000 (11:48 +0100)
committerTeresaARM <teresa.charlinreyes@arm.com>
Wed, 14 Oct 2020 12:05:00 +0000 (12:05 +0000)
 * Added Documentation for fast_math to CLBackendModelContext
 * Added Documentation for fast_math to NeonBackendModelContext

Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Change-Id: I43a0568ae6914e074a80130a051e5d9bb849f2ba

src/backends/cl/ClBackendModelContext.hpp
src/backends/neon/NeonBackendModelContext.hpp

index 59f7f8f..577649a 100644 (file)
@@ -9,6 +9,11 @@
 namespace armnn
 {
 
+/// The ClBackendModelContext is used to pass in CL specific backend ModelOptions. The supported backend ModelOptions
+/// are:
+///  - "FastMathEnabled"\n
+///    Using the fast_math flag can lead to performance improvements in fp32 and fp16 layers but may result in\n
+///    results with reduced or different precision. The fast_math flag will not have any effect on int8 performance.
 class ClBackendModelContext : public IBackendModelContext
 {
 public:
index 938d8af..430ae45 100644 (file)
@@ -9,6 +9,11 @@
 namespace armnn
 {
 
+/// The NeonBackendModelContext is used to pass in Neon specific backend ModelOptions. The supported backend
+/// ModelOptions are:
+///  - "FastMathEnabled"\n
+///    Using the fast_math flag can lead to performance improvements in fp32 and fp16 layers but may result in\n
+///    results with reduced or different precision. The fast_math flag will not have any effect on int8 performance.
 class NeonBackendModelContext : public IBackendModelContext
 {
 public: