diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2016-03-25 10:00:40 +0100 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2016-03-25 10:00:40 +0100 |
commit | 3876096c30ad4eed5769dbc88dbfe75b7571718a (patch) | |
tree | f902f2ee43df982152ada5d8d8d0573653cef58a /scripts/generator/generator.py | |
parent | 49822c8ead3313e88a08f31162870e88f8ad2bb5 (diff) |
Added prototypes for SNRM2/DNRM2 routines
Diffstat (limited to 'scripts/generator/generator.py')
-rw-r--r-- | scripts/generator/generator.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/generator/generator.py b/scripts/generator/generator.py index 8ff5e130..2c22a6fd 100644 --- a/scripts/generator/generator.py +++ b/scripts/generator/generator.py @@ -61,6 +61,7 @@ routines = [ Routine(True, "1", "dot", T, [S,D], ["n"], [], ["x","y"], ["dot"], [], True, "Dot product of two vectors"), Routine(True, "1", "dotu", T, [C,Z], ["n"], [], ["x","y"], ["dot"], [], True, "Dot product of two complex vectors"), Routine(True, "1", "dotc", T, [C,Z], ["n"], [], ["x","y"], ["dot"], [], True, "Dot product of two complex vectors, one conjugated"), + Routine(False, "1", "nrm2", T, [S,D], ["n"], [], ["x"], ["nrm2"], [], True, "Euclidian norm of 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"], False, "General matrix-vector multiplication"), @@ -247,8 +248,8 @@ files = [ path_clblast+"/src/clblast_c.cc", path_clblast+"/test/wrapper_clblas.h", ] -header_lines = [84, 64, 88, 24, 22] -footer_lines = [6, 3, 5, 2, 6] +header_lines = [84, 64, 93, 22, 22] +footer_lines = [6, 3, 9, 2, 6] # Checks whether the command-line arguments are valid; exists otherwise for f in files: |