summaryrefslogtreecommitdiff
path: root/scripts/generator/generator.py
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2016-04-27 18:07:30 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2016-04-27 18:07:30 +0200
commitd7ddbdeb1f416f56bc469d16c051551207274703 (patch)
tree2f5ba3abc5a97509b84ecdd1fdf5b449ab543eec /scripts/generator/generator.py
parent13eed1a0f973ff2090062a1ad4485896b22949b0 (diff)
Added non-absolute counter-parts xSUM and IxMAX of the BLAS routines xASUM and IxAMAX
Diffstat (limited to 'scripts/generator/generator.py')
-rw-r--r--scripts/generator/generator.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/generator/generator.py b/scripts/generator/generator.py
index cad9a82d..04f3c30e 100644
--- a/scripts/generator/generator.py
+++ b/scripts/generator/generator.py
@@ -72,9 +72,9 @@ routines = [
Routine(True, True, "1", "dotc", T, [C,Z], ["n"], [], ["x","y"], ["dot"], [], "n", "Dot product of two complex vectors, one conjugated"),
Routine(True, True, "1", "nrm2", T, [S,D,Sc,Dz],["n"], [], ["x"], ["nrm2"], [], "2*n", "Euclidian norm of a vector"),
Routine(True, True, "1", "asum", T, [S,D,Sc,Dz],["n"], [], ["x"], ["asum"], [], "n", "Absolute sum of values in a vector"),
- Routine(False, False, "1", "sum", T, [S,D,Sc,Dz],["n"], [], ["x"], ["asum"], [], "n", "Sum of values in a vector"),
+ Routine(True, False, "1", "sum", T, [S,D,Sc,Dz],["n"], [], ["x"], ["sum"], [], "n", "Sum of values in a vector (non-BLAS function)"),
Routine(True, True, "1", "amax", T, [iS,iD,iC,iZ],["n"], [], ["x"], ["imax"], [], "2*n", "Index of absolute maximum value in a vector"),
- Routine(False, False, "1", "max", T, [iS,iD,iC,iZ],["n"], [], ["x"], ["imax"], [], "2*n", "Index of maximum value in a vector"),
+ Routine(True, False, "1", "max", T, [iS,iD,iC,iZ],["n"], [], ["x"], ["imax"], [], "2*n", "Index of maximum value in a vector (non-BLAS function)"),
],
[ # Level 2: matrix-vector
Routine(True, True, "2a", "gemv", T, [S,D,C,Z], ["m","n"], ["layout","a_transpose"], ["a","x"], ["y"], ["alpha","beta"], "", "General matrix-vector multiplication"),
@@ -298,7 +298,7 @@ files = [
path_clblast+"/test/wrapper_clblas.h",
path_clblast+"/test/wrapper_cblas.h",
]
-header_lines = [84, 68, 93, 22, 29, 38]
+header_lines = [84, 70, 93, 22, 29, 38]
footer_lines = [13, 8, 15, 9, 6, 6]
# Checks whether the command-line arguments are valid; exists otherwise