aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSiCong Li <sicong.li@arm.com>2019-09-19 12:18:15 +0100
committerSiCong Li <sicong.li@arm.com>2019-09-25 14:09:21 +0000
commit8b4c7303653bd79865e5668d0dc7a10788a125e8 (patch)
tree8dae3ca29ca073d4abf1bca1a3c01a9aed43a437 /tests
parent572576a88b2a338a2986ae8025d97bb819b4190b (diff)
downloadComputeLibrary-8b4c7303653bd79865e5668d0dc7a10788a125e8.tar.gz
COMPMID-2566 - Add CLGEMMReshapedOnlyRHS example
* Add example * Add shell script for running example on predefined tunable configs Change-Id: I1660c37a071492b4da5cf97c1ced5ac4a08b19ce Signed-off-by: SiCong Li <sicong.li@arm.com> Reviewed-on: https://review.mlplatform.org/c/1961 Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Gian Marco Iodice <gianmarco.iodice@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/SConscript9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/SConscript b/tests/SConscript
index c8de603541..9777d49346 100644
--- a/tests/SConscript
+++ b/tests/SConscript
@@ -223,6 +223,15 @@ if test_env['benchmark_examples']:
cl_examples += [ test_env.Program(example, [ test_env.Object(source=file, target=example) ] + files_benchmark_examples, LIBS = test_env["LIBS"]) ]
arm_compute_benchmark_examples += cl_examples
+ if test_env['gemm_tuner'] and test_env['opencl']:
+ gemm_tuner_examples = []
+ files = Glob("%s/gemm_tuner/cl_*.cpp" % examples_folder)
+ for file in files:
+ example = "benchmark_" + os.path.basename(os.path.splitext(str(file))[0])
+ example = os.path.join("gemm_tuner", example)
+ gemm_tuner_examples += [ test_env.Program(example, [ test_env.Object(source=file, target=example) ] + files_benchmark_examples, LIBS = test_env["LIBS"]) ]
+ arm_compute_benchmark_examples += gemm_tuner_examples
+
# Graph examples
for file in Glob("%s/graph_*.cpp" % examples_folder ):
example = "benchmark_" + os.path.basename(os.path.splitext(str(file))[0])