aboutsummaryrefslogtreecommitdiff
path: root/examples/gemm_tuner/CommonGemmExampleOptions.h
diff options
context:
space:
mode:
authorSiCong Li <sicong.li@arm.com>2020-12-03 14:52:53 +0000
committerSiCong Li <sicong.li@arm.com>2020-12-08 15:28:37 +0000
commit98e33b97b92c912f058bfb3295adad1bcad3e80f (patch)
tree4cebd7dbfa9f79db3525d498b5ab16ff9b5e7e16 /examples/gemm_tuner/CommonGemmExampleOptions.h
parent045d33c2e36575612662c237a30ec0a2d7d8cd3e (diff)
downloadComputeLibrary-98e33b97b92c912f058bfb3295adad1bcad3e80f.tar.gz
Fix invalid arguments error for cl_gemmlowp* examples without arguments
* Pass QASYMM8 as default argument for cl_gemmlowp examples * Fix the (arbitrary) quantization info to be the same across tensors to avoid quantization information mismatch issue Resolves COMPMID-4044 Signed-off-by: SiCong Li <sicong.li@arm.com> Change-Id: I14aa6648bbebdcd9b0bb77c47b46c27aa79d6253 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4650 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'examples/gemm_tuner/CommonGemmExampleOptions.h')
-rw-r--r--examples/gemm_tuner/CommonGemmExampleOptions.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/gemm_tuner/CommonGemmExampleOptions.h b/examples/gemm_tuner/CommonGemmExampleOptions.h
index 5c4be286d6..633e9252bd 100644
--- a/examples/gemm_tuner/CommonGemmExampleOptions.h
+++ b/examples/gemm_tuner/CommonGemmExampleOptions.h
@@ -65,9 +65,10 @@ class CommonGemmExampleOptions
public:
/** Constructor
*
- * @param[in,out] parser A parser on which "parse()" hasn't been called yet.
+ * @param[in,out] parser A parser on which "parse()" hasn't been called yet.
+ * @param[in] default_data_type Default data type if unspecified.
*/
- CommonGemmExampleOptions(arm_compute::utils::CommandLineParser &parser);
+ CommonGemmExampleOptions(arm_compute::utils::CommandLineParser &parser, arm_compute::DataType default_data_type = arm_compute::DataType::F32);
/** Prevent instances of this class from being copied (As this class contains pointers) */
CommonGemmExampleOptions(const CommonGemmExampleOptions &) = delete;
/** Prevent instances of this class from being copied (As this class contains pointers) */