From e0497807e297e38884efae67a0109a160dc693b7 Mon Sep 17 00:00:00 2001 From: cnugteren Date: Wed, 13 Apr 2016 21:44:49 -0600 Subject: Added prototype for xASUM routines --- scripts/generator/generator.py | 1 + scripts/generator/routine.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/generator') 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"] -- cgit v1.2.3