diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2016-04-30 09:49:39 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2016-04-30 09:49:39 +0200 |
commit | e113ff0852d21ecb898b3b192145b70cad3f338a (patch) | |
tree | d380ab9a413394f4d3901c131d0c8a02ab80e025 /scripts | |
parent | 2952390f27c07500bd2a24b5e6fdce5e282fc8dd (diff) |
Added non-aboslute minimum counter-part IxMIN of the BLAS routine IxAMAX
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/generator/generator.py | 5 | ||||
-rw-r--r-- | scripts/generator/routine.py | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/scripts/generator/generator.py b/scripts/generator/generator.py index a9419f13..0fd05053 100644 --- a/scripts/generator/generator.py +++ b/scripts/generator/generator.py @@ -75,6 +75,7 @@ routines = [ 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(True, False, "1", "max", T, [iS,iD,iC,iZ],["n"], [], ["x"], ["imax"], [], "2*n", "Index of maximum value in a vector (non-BLAS function)"), + Routine(True, False, "1", "min", T, [iS,iD,iC,iZ],["n"], [], ["x"], ["imin"], [], "2*n", "Index of minimum 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,8 +299,8 @@ files = [ path_clblast+"/test/wrapper_clblas.h", path_clblast+"/test/wrapper_cblas.h", ] -header_lines = [84, 70, 93, 22, 29, 38] -footer_lines = [17, 70, 19, 14, 6, 6] +header_lines = [84, 71, 93, 22, 29, 38] +footer_lines = [17, 71, 19, 14, 6, 6] # Checks whether the command-line arguments are valid; exists otherwise for f in files: diff --git a/scripts/generator/routine.py b/scripts/generator/routine.py index 2fd26e79..47790a55 100644 --- a/scripts/generator/routine.py +++ b/scripts/generator/routine.py @@ -73,7 +73,7 @@ class Routine(): # List of scalar buffers def ScalarBuffersFirst(self): - return ["dot","nrm2","asum","sum","imax"] + return ["dot","nrm2","asum","sum","imax","imin"] def ScalarBuffersSecond(self): return ["sa","sb","sc","ss","sd1","sd2","sx1","sy1","sparam"] |