aboutsummaryrefslogtreecommitdiff
path: root/examples/gemm_tuner/benchmark_gemm_examples.sh
diff options
context:
space:
mode:
authorSiCong Li <sicong.li@arm.com>2020-04-03 12:39:41 +0100
committerSiCong Li <sicong.li@arm.com>2020-04-07 11:12:19 +0000
commit8abbabd6ad946441c8ef1a03896fa98f7801af1f (patch)
tree1199f9fdee5d3424910fe5c1637fd0bf4d85122a /examples/gemm_tuner/benchmark_gemm_examples.sh
parent0f2522be897800ea88b843d4c207f85266c9e989 (diff)
downloadComputeLibrary-8abbabd6ad946441c8ef1a03896fa98f7801af1f.tar.gz
COMPMID-3233 Extend gemm tuner in the doxygen documentation
* Add location to gemm tuner scripts. * Expanded on the description of the gemm shape and gemm config files. * Reformat the document. Change-Id: Idd23d98b02377b0619cb9f616aa6099321f492bc Signed-off-by: SiCong Li <sicong.li@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/2988 Tested-by: Arm Jenkins <bsgcomp@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'examples/gemm_tuner/benchmark_gemm_examples.sh')
-rwxr-xr-xexamples/gemm_tuner/benchmark_gemm_examples.sh14
1 files changed, 13 insertions, 1 deletions
diff --git a/examples/gemm_tuner/benchmark_gemm_examples.sh b/examples/gemm_tuner/benchmark_gemm_examples.sh
index 95bb3677f3..d6f41cc22a 100755
--- a/examples/gemm_tuner/benchmark_gemm_examples.sh
+++ b/examples/gemm_tuner/benchmark_gemm_examples.sh
@@ -58,6 +58,9 @@ function help_gemm_shape_file() {
Gemm shape file:
Gemm shape file is a headerless csv file with fields separated by commas and commas only (there cannot be whitespaces
around each field).
+
+ Note also comments and extraneous empty lines are not permitted.
+
A gemm shape is a list of 4 positive integers <M, N, K, B> describing the shapes of the two matrices (LHS and RHS)
with:
M - Number of lhs matrix rows
@@ -87,7 +90,10 @@ function help_gemm_config_file_native() {
Gemm config file (Strategy native):
Gemm config file is a headerless csv file with fields separated by commas and commas only (there cannot be whitespaces
around each field).
- A gemm config is a list of 4 positive integers <m0, n0, k0, h0> and 2 boolean values interleave_rhs and transpose_rhs, with:
+
+ Note also comments and extraneous empty lines are not permitted.
+
+ A gemm config is a list of 3 positive integers <m0, n0, k0>, with:
m0 - Number of rows processed by the matrix multiplication
n0 - Number of columns processed by the matrix multiplication
k0 - Number of partial accumulations performed by the matrix multiplication
@@ -119,6 +125,9 @@ function help_gemm_config_file_reshaped_rhs_only() {
Gemm config file (Strategy reshaped_rhs_only):
Gemm config file is a headerless csv file with fields separated by commas and commas only (there cannot be whitespaces
around each field).
+
+ Note also comments and extraneous empty lines are not permitted.
+
A gemm config is a list of 4 positive integers <m0, n0, k0, h0> and 2 boolean values interleave_rhs and transpose_rhs, with:
m0 - Number of rows processed by the matrix multiplication
n0 - Number of columns processed by the matrix multiplication
@@ -155,6 +164,9 @@ function help_gemm_config_file_reshaped() {
Gemm config file (Strategy reshaped):
Gemm config file is a headerless csv file with fields separated by commas and commas only (there cannot be whitespaces
around each field).
+
+ Note also comments and extraneous empty lines are not permitted.
+
A gemm config is a list of 5 positive integers <m0, n0, k0, v0, h0> and 3 boolean values interleave_lhs, interleave_rhs and transpose_rhs, with:
m0 - Number of rows processed by the matrix multiplication
n0 - Number of columns processed by the matrix multiplication