diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/generator/generator.py | 1 | ||||
-rw-r--r-- | scripts/generator/routine.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/scripts/generator/generator.py b/scripts/generator/generator.py index 8cd35f95..e9e9276b 100644 --- a/scripts/generator/generator.py +++ b/scripts/generator/generator.py @@ -67,6 +67,7 @@ routines = [ Routine(True, "1", "dotu", T, [C,Z], ["n"], [], ["x","y"], ["dot"], [], "n", "Dot product of two complex vectors"), Routine(True, "1", "dotc", T, [C,Z], ["n"], [], ["x","y"], ["dot"], [], "n", "Dot product of two complex vectors, one conjugated"), Routine(True, "1", "nrm2", T, [S,D,Sc,Dz],["n"], [], ["x"], ["nrm2"], [], "2*n", "Euclidian norm of a vector"), + Routine(False, "1", "asum", T, [S,D,Sc,Dz],["n"], [], ["x"], ["asum"], [], "n", "Absolute sum of values in a vector"), ], [ # Level 2: matrix-vector Routine(True, "2a", "gemv", T, [S,D,C,Z], ["m","n"], ["layout","a_transpose"], ["a","x"], ["y"], ["alpha","beta"], "", "General matrix-vector multiplication"), diff --git a/scripts/generator/routine.py b/scripts/generator/routine.py index fffa19f6..7ddd7a12 100644 --- a/scripts/generator/routine.py +++ b/scripts/generator/routine.py @@ -72,7 +72,7 @@ class Routine(): # List of scalar buffers def ScalarBuffersFirst(self): - return ["dot","nrm2"] + return ["dot","nrm2","asum"] def ScalarBuffersSecond(self): return ["sa","sb","sc","ss","sd1","sd2","sx1","sy1","sparam"] |