From 240b79de1c211ebb8d439b4a1c8c79777aa36f13 Mon Sep 17 00:00:00 2001 From: SiCong Li Date: Tue, 24 Sep 2019 15:50:34 +0100 Subject: COMPMID-2692 Use existing command line infrastructure for CLGEMMReshapedOnlyRHS * Refactor to use existing command line infrastructure. * Fix: Remove errorneous initialisation code for dst matrix. * Fix: Correctly set bias tensor to be a vector. Change-Id: I787bfa08392df806aba3b0be09bab015f16010f7 Signed-off-by: SiCong Li Reviewed-on: https://review.mlplatform.org/c/1985 Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins Reviewed-by: Gian Marco Iodice Reviewed-by: Georgios Pinitas --- examples/SConscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples/SConscript') diff --git a/examples/SConscript b/examples/SConscript index d283b711bf..add3022056 100644 --- a/examples/SConscript +++ b/examples/SConscript @@ -87,10 +87,11 @@ if env['opencl']: Default(alias) if env['gemm_tuner'] and env['opencl']: + gemm_tuner_common_options = examples_env.Object("./gemm_tuner/CommonGemmExampleOptions.cpp") for file in Glob("./gemm_tuner/cl_*.cpp"): example = os.path.basename(os.path.splitext(str(file))[0]) example = os.path.join("gemm_tuner", example) - prog = examples_env.Program(example, ["{}.cpp".format(example), utils], CPPDEFINES=['ARM_COMPUTE_CL'], LIBS = examples_libs + arm_compute_libs) + prog = examples_env.Program(example, ["{}.cpp".format(example), utils, gemm_tuner_common_options], CPPDEFINES=['ARM_COMPUTE_CL'], LIBS = examples_libs + arm_compute_libs) Depends(prog, arm_compute_dependency) prog = install_bin(prog) alias = examples_env.Alias(example, prog) -- cgit v1.2.1